diff options
author | Ayke van Laethem <[email protected]> | 2019-02-05 01:04:41 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-02-05 17:37:55 +0100 |
commit | a789108926f8b8182d6737abc444ca8d2c2a191f (patch) | |
tree | b8cf29031310d20893688a1421a6959f0f49430c | |
parent | d63ce0646cf7e5547b8938fdec2adedee8e85aa7 (diff) | |
download | tinygo-a789108926f8b8182d6737abc444ca8d2c2a191f.tar.gz tinygo-a789108926f8b8182d6737abc444ca8d2c2a191f.zip |
test: add -short flag that only tests on the host
-rw-r--r-- | main_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main_test.go b/main_test.go index 3afb45d8d..256285501 100644 --- a/main_test.go +++ b/main_test.go @@ -49,6 +49,10 @@ func TestCompiler(t *testing.T) { }) } + if testing.Short() { + return + } + t.Log("running tests on the qemu target...") for _, path := range matches { t.Run(path, func(t *testing.T) { |