From 3dd71713c2ec00bc5b862bc8e1b9c0cd60dd4394 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Tue, 9 Jul 2024 01:33:48 +0800 Subject: [PATCH] mv _test => c/bdwgc/_test --- .github/workflows/test_llgo.sh | 2 +- {_test => c/bdwgc/_test}/bdwgc.go | 2 +- {_test => c/bdwgc/_test}/main.go | 2 +- {_test => c/bdwgc/_test}/testing/testing.go | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {_test => c/bdwgc/_test}/bdwgc.go (97%) rename {_test => c/bdwgc/_test}/main.go (92%) rename {_test => c/bdwgc/_test}/testing/testing.go (100%) 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