compiler: add syscalls for 32-bit arm

This commit is contained in:
Ayke van Laethem
2019-02-05 19:30:52 +01:00
committed by Ron Evans
parent 4b477fad55
commit 93d5269fef
4 changed files with 72 additions and 21 deletions
+12 -2
View File
@@ -42,7 +42,7 @@ func TestCompiler(t *testing.T) {
}
defer os.RemoveAll(tmpdir)
t.Log("running tests on the host...")
t.Log("running tests on host...")
for _, path := range matches {
t.Run(path, func(t *testing.T) {
runTest(path, tmpdir, "", t)
@@ -53,7 +53,17 @@ func TestCompiler(t *testing.T) {
return
}
t.Log("running tests on the qemu target...")
t.Log("running tests for linux/arm...")
for _, path := range matches {
if path == "testdata/cgo/" {
continue // TODO: improve CGo
}
t.Run(path, func(t *testing.T) {
runTest(path, tmpdir, "arm--linux-gnueabi", t)
})
}
t.Log("running tests for emulated cortex-m3...")
for _, path := range matches {
t.Run(path, func(t *testing.T) {
runTest(path, tmpdir, "qemu", t)