tinygo/0002-Skip-ARM-Linux-tests.patch
Elliott Sales de Andrade 88a617aa7c Update to latest version.
2019-09-25 03:03:35 -04:00

39 lines
1.1 KiB
Diff

From 351e01b09db90ca01a3a70817c7360c986ef7eb7 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Wed, 12 Jun 2019 04:28:55 -0400
Subject: [PATCH 2/4] Skip ARM Linux tests.
We don't have the C library to do this.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
main_test.go | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/main_test.go b/main_test.go
index 6a47393..86e7fd3 100644
--- a/main_test.go
+++ b/main_test.go
@@ -66,6 +66,9 @@ func TestCompiler(t *testing.T) {
if runtime.GOOS == "linux" {
t.Log("running tests for linux/arm...")
for _, path := range matches {
+ if true {
+ continue
+ }
if path == filepath.Join("testdata", "cgo")+string(filepath.Separator) {
continue // TODO: improve CGo
}
@@ -76,6 +79,9 @@ func TestCompiler(t *testing.T) {
t.Log("running tests for linux/arm64...")
for _, path := range matches {
+ if true {
+ continue
+ }
if path == filepath.Join("testdata", "cgo")+string(filepath.Separator) {
continue // TODO: improve CGo
}
--
2.21.0