tinygo/testdata
Ayke van Laethem 718746dd21 os: stub out support for some more features
This is necessary for the following:

  - to make sure os/exec can be imported
  - to make sure internal/testenv can be imported

The internal/testenv package (which imports os/exec) is used by a lot of
tests. By adding support for it, more tests can be run.

This commit adds a bunch of new packages that now pass all tests.
2021-11-26 08:05:35 +01:00
..
cgo cgo: add support for C.CString and related functions 2021-11-24 21:09:29 +01:00
alias.go
alias.txt
atomic.go compiler: add support for atomic operations 2020-05-28 15:11:46 +02:00
atomic.txt compiler: add support for atomic operations 2020-05-28 15:11:46 +02:00
binop.go runtime: allow comparing interfaces in reflectValueEqual() 2021-11-24 14:17:47 +01:00
binop.txt runtime: allow comparing interfaces in reflectValueEqual() 2021-11-24 14:17:47 +01:00
calls.go
calls.txt
channel.go compiler: fix a few crashes due to named types 2020-05-27 16:14:41 +02:00
channel.txt runtime: add cap and len support for chans 2020-05-12 01:17:27 +02:00
env.go os: stub out support for some more features 2021-11-26 08:05:35 +01:00
env.txt
filesystem.go all: add support for windows/amd64 2021-11-16 11:08:30 +01:00
filesystem.txt
float.go
float.txt
gc.go
gc.txt
go1.17.go
go1.17.txt
goroutines.go compiler: add support for the go keyword on interface methods 2021-10-31 14:17:25 +01:00
goroutines.txt compiler: add support for the go keyword on interface methods 2021-10-31 14:17:25 +01:00
init.go interp: use object layout information for LLVM types 2021-11-02 22:16:15 +01:00
init.txt
init_multi.go testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
init_multi.txt testdata: add more test cases in testdata 2018-10-25 20:37:35 +02:00
interface.go compiler: add support for anonymous type asserts 2020-03-29 08:39:07 +02:00
interface.txt compiler: add support for anonymous type asserts 2020-03-29 08:39:07 +02:00
json.go
json.txt
ldflags.go main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
ldflags.txt main: implement -ldflags="-X ..." 2021-04-09 18:33:48 +02:00
map.go
map.txt
math.go runtime: add support for math package 2019-02-05 19:37:21 +01:00
math.txt runtime: add support for math package 2019-02-05 19:37:21 +01:00
print.go
print.txt
rand.go
rand.txt
reflect.go reflect: add support for DeepEqual 2021-11-12 21:27:27 +01:00
reflect.txt reflect: implement Value.Elem() for interface values 2021-11-12 21:27:27 +01:00
slice.go
slice.txt compiler: compare slice against nil 2018-10-20 17:22:51 +02:00
sort.go
sort.txt implement reflect.Swapper 2020-10-23 21:37:35 +02:00
stdlib.go
stdlib.txt
string.go
string.txt compiler,runtime: implement []rune to string conversion 2019-08-11 15:45:35 +02:00
structs.go compiler: support recursive types 2019-10-13 23:07:47 +02:00
structs.txt compiler: support recursive types 2019-10-13 23:07:47 +02:00
testing.go tinygo: support -run for tests 2021-11-24 17:27:11 +01:00
testing.txt
zeroalloc.go
zeroalloc.txt add code to handle programs which use heap allocations but never hit the GC 2019-11-17 15:14:51 +01:00