Skip to content

Commit

Permalink
rename C test files to include _test (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyGamerJet authored Jan 13, 2024
1 parent f163b4c commit a546a4d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion callback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestCallGoFromSharedLib(t *testing.T) {
libFileName := filepath.Join(t.TempDir(), "libcbtest.so")
t.Logf("Build %v", libFileName)

if err := buildSharedLib("CC", libFileName, filepath.Join("libcbtest", "callback.c")); err != nil {
if err := buildSharedLib("CC", libFileName, filepath.Join("libcbtest", "callback_test.c")); err != nil {
t.Fatal(err)
}
defer os.Remove(libFileName)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestNestedDlopenCall(t *testing.T) {
libFileName := filepath.Join(t.TempDir(), "libdlnested.so")
t.Logf("Build %v", libFileName)

if err := buildSharedLib("CXX", libFileName, filepath.Join("libdlnested", "nested.cpp")); err != nil {
if err := buildSharedLib("CXX", libFileName, filepath.Join("libdlnested", "nested_test.cpp")); err != nil {
t.Fatal(err)
}
defer os.Remove(libFileName)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a546a4d

Please sign in to comment.