Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
test/acosl, test/asin
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Aug 4, 2022
1 parent b8e2574 commit 7498346
Show file tree
Hide file tree
Showing 10 changed files with 240 additions and 15 deletions.
35 changes: 20 additions & 15 deletions test/c2go.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"cmds": [
{
"for": [
"random",
"qsort",
"strtod",
"string",
"string_memcpy",
"string_memset",
"snprintf"
"acos",
"acosf",
"acosl",
"asin",
"asinf",
"asinl",

"acosh",
"acoshf",
"acoshl",
"frexpl"
],
"dir": "cmd/test_$(it)",
"deps": [
Expand All @@ -18,18 +22,19 @@
],
"source": {
"files": [
"./src/functional/$(it).c"
"./src/math/$(it).c"
]
}
},
{
"for": [
"acos",
"acosf",
"acosh",
"acoshf",
"acoshl",
"frexpl"
"random",
"qsort",
"strtod",
"string",
"string_memcpy",
"string_memset",
"snprintf"
],
"dir": "cmd/test_$(it)",
"deps": [
Expand All @@ -38,7 +43,7 @@
],
"source": {
"files": [
"./src/math/$(it).c"
"./src/functional/$(it).c"
]
}
}
Expand Down
51 changes: 51 additions & 0 deletions test/cmd/test/acosl/acosl.c.i.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/cmd/test/acosl/c2go_header.i.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package acosl
51 changes: 51 additions & 0 deletions test/cmd/test/asin/asin.c.i.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/cmd/test/asin/c2go_header.i.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package asin
51 changes: 51 additions & 0 deletions test/cmd/test/asinf/asinf.c.i.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/cmd/test/asinf/c2go_header.i.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package asinf
51 changes: 51 additions & 0 deletions test/cmd/test/asinl/asinl.c.i.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/cmd/test/asinl/c2go_header.i.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package asinl
12 changes: 12 additions & 0 deletions xz_libtest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ import (

"github.com/goplus/libc/test/cmd/test/acos"
"github.com/goplus/libc/test/cmd/test/acosf"
"github.com/goplus/libc/test/cmd/test/acosl"

"github.com/goplus/libc/test/cmd/test/asin"
"github.com/goplus/libc/test/cmd/test/asinf"
"github.com/goplus/libc/test/cmd/test/asinl"

"github.com/goplus/libc/test/cmd/test/qsort"
"github.com/goplus/libc/test/cmd/test/random"
"github.com/goplus/libc/test/cmd/test/string_memcpy"
Expand All @@ -20,6 +26,12 @@ import (
func TestFromTestdata(t *testing.T) {
acos.TestMain(t)
acosf.TestMain(t)
acosl.TestMain(t)

asin.TestMain(t)
asinf.TestMain(t)
asinl.TestMain(t)

qsort.TestMain(t)
random.TestMain(t)
string_memcpy.TestMain(t)
Expand Down

0 comments on commit 7498346

Please sign in to comment.