mv _test => c/bdwgc/_test
This commit is contained in:
2
.github/workflows/test_llgo.sh
vendored
2
.github/workflows/test_llgo.sh
vendored
@@ -4,7 +4,7 @@ set -e
|
|||||||
export LLGOROOT=$PWD
|
export LLGOROOT=$PWD
|
||||||
|
|
||||||
testcmd=/tmp/test
|
testcmd=/tmp/test
|
||||||
llgo build -o $testcmd ./_test
|
llgo build -o $testcmd ./c/bdwgc/_test
|
||||||
cases=$($testcmd)
|
cases=$($testcmd)
|
||||||
total=$(echo "$cases" | wc -l | tr -d ' ')
|
total=$(echo "$cases" | wc -l | tr -d ' ')
|
||||||
failed=0
|
failed=0
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
"github.com/goplus/llgo/_test/testing"
|
|
||||||
"github.com/goplus/llgo/c"
|
"github.com/goplus/llgo/c"
|
||||||
"github.com/goplus/llgo/c/bdwgc"
|
"github.com/goplus/llgo/c/bdwgc"
|
||||||
|
"github.com/goplus/llgo/c/bdwgc/_test/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ------ Test malloc ------
|
// ------ Test malloc ------
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/goplus/llgo/_test/testing"
|
|
||||||
"github.com/goplus/llgo/c"
|
"github.com/goplus/llgo/c"
|
||||||
|
"github.com/goplus/llgo/c/bdwgc/_test/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TestCase struct {
|
type TestCase struct {
|
||||||
Reference in New Issue
Block a user