Skip to content

Commit 53e85d4

Browse files
authored
[nfc][ubsan] Reorder RUNs and preconditions in test
1 parent 1ae2446 commit 53e85d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
// RUN: %clangxx -fsanitize=bool -static %s -o %t && env UBSAN_OPTIONS=handle_segv=0:handle_sigbus=0:handle_sigfpe=0 %run %t 2>&1 | FileCheck %s
2+
// RUN: %run %t 2>&1 | FileCheck %s
3+
14
// REQUIRES: ubsan-standalone
25
// REQUIRES: target={{x86_64.*}}
36
// UNSUPPORTED: i386-target-arch, internal_symbolizer
4-
// RUN: %clangxx -fsanitize=bool -static %s -o %t && env UBSAN_OPTIONS=handle_segv=0:handle_sigbus=0:handle_sigfpe=0 %run %t 2>&1 | FileCheck %s
5-
// RUN: %run %t 2>&1 | FileCheck %s
7+
68
#include <signal.h>
79
#include <stdio.h>
810

0 commit comments

Comments
 (0)