Skip to content

Commit

Permalink
Add more test cases to C++/Go interop tests
Browse files Browse the repository at this point in the history
Signed-off-by: Martynas Gurskas <[email protected]>
  • Loading branch information
Lipt0nas committed Mar 12, 2024
1 parent b507095 commit 4f135d6
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion test_go_bindgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,23 @@ pushd $BINDINGS_DIR
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}:$BINARIES_DIR" \
CGO_LDFLAGS="-luniffi_fixtures -L$BINARIES_DIR -lm -ldl" \
CGO_ENABLED=1 \
go test arithmetic_test.go -v
go test \
arithmetic_test.go \
callbacks_test.go \
fixture_callbacks_test.go \
geometry_test.go \
rondpoint_test.go \
sprites_test.go \
todolist_test.go \
coverall_test.go \
-v

# We run the chronological tests separately, because we want to skip a few
# specific functions due to C++ chrono library not supporting large timestamp
# values
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}:$BINARIES_DIR" \
CGO_LDFLAGS="-luniffi_fixtures -L$BINARIES_DIR -lm -ldl" \
CGO_ENABLED=1 \
go test chronological_test.go -skip \
"TestTimestampMinMax|TestPreEpochTimestampsSerializesCorrectly" \
-v

0 comments on commit 4f135d6

Please sign in to comment.