diff --git a/.github/workflows/test_llgo.sh b/.github/workflows/test_llgo.sh index e1838fa5..0ecff3a1 100644 --- a/.github/workflows/test_llgo.sh +++ b/.github/workflows/test_llgo.sh @@ -4,7 +4,7 @@ set -e export LLGOROOT=$PWD testcmd=/tmp/test -llgo build -o $testcmd ./_test +llgo build -o $testcmd ./c/bdwgc/_test cases=$($testcmd) total=$(echo "$cases" | wc -l | tr -d ' ') failed=0 diff --git a/_test/bdwgc.go b/c/bdwgc/_test/bdwgc.go similarity index 97% rename from _test/bdwgc.go rename to c/bdwgc/_test/bdwgc.go index 17d2759f..f4d900d4 100644 --- a/_test/bdwgc.go +++ b/c/bdwgc/_test/bdwgc.go @@ -3,9 +3,9 @@ package main import ( "unsafe" - "github.com/goplus/llgo/_test/testing" "github.com/goplus/llgo/c" "github.com/goplus/llgo/c/bdwgc" + "github.com/goplus/llgo/c/bdwgc/_test/testing" ) // ------ Test malloc ------ diff --git a/_test/main.go b/c/bdwgc/_test/main.go similarity index 92% rename from _test/main.go rename to c/bdwgc/_test/main.go index 59869456..1be2b40e 100644 --- a/_test/main.go +++ b/c/bdwgc/_test/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/goplus/llgo/_test/testing" "github.com/goplus/llgo/c" + "github.com/goplus/llgo/c/bdwgc/_test/testing" ) type TestCase struct { diff --git a/_test/testing/testing.go b/c/bdwgc/_test/testing/testing.go similarity index 100% rename from _test/testing/testing.go rename to c/bdwgc/_test/testing/testing.go