Skip to content

Commit 7d27a85

Browse files
committed
Tweak tests
1 parent 6994f96 commit 7d27a85

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/runners.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,8 @@ end
173173
export CCACHE=pwned
174174
export USE_CCACHE=false
175175
echo '$(test_c)' > test.c
176-
# Build object file
177-
$(compiler) -Werror -c test.c -o test.o
178176
# Build shared library
179-
$(compiler) -Werror -shared test.c -o libtest.\${dlext}
177+
$(compiler) -shared test.c -o libtest.\${dlext}
180178
181179
# Print out the notes in the library
182180
readelf -n libtest.\${dlext}
@@ -185,7 +183,7 @@ end
185183
@test run(ur, cmd, iobuff)
186184
seekstart(iobuff)
187185
# Make sure the compiled library has the note section for the build-id
188-
@test occursin(".note.gnu.build-id", readchomp(iobuff))
186+
@test occursin("NT_GNU_BUILD_ID", readchomp(iobuff))
189187
end
190188
end
191189

0 commit comments

Comments
 (0)