Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Feb 19, 2024
1 parent b0a3a5c commit 7ead723
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/elf/relocatable-compressed-debug-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# OneTBB isn't tsan-clean
nm mold | grep -q '__tsan_init' && skip

echo 'int main() {}' | $GCC -o /dev/null -xc -g3 -gz - >& /dev/null || skip

cat <<EOF | $GCC -c -o $t/a.o -xc - -g3 -gz
#include <stdio.h>
void hello() { printf("Hello world\n"); }
Expand All @@ -16,4 +18,4 @@ EOF

./mold --relocatable -o $t/c.o $t/a.o $t/b.o
$CC -B. -o $t/exe $t/c.o
$QEMU $t/exe
$QEMU $t/exe | grep -q 'Hello world'

0 comments on commit 7ead723

Please sign in to comment.