brintos

brintos / llvm-project-archived public Read only

0
0
Text · 867 B · d0fd769 Raw
24 lines · plain
1# Test fail on device (rdar://99981102)2XFAIL: tvos && !tvossim3 4# Test that the minimizer stops when it sees a different bug.5UNSUPPORTED: target={{.*freebsd.*}}6 7# TODO: Find out why test fails on Darwin with -O2.8RUN: %cpp_compiler -O0 %S/TwoDifferentBugsTest.cpp -o %t-TwoDifferentBugsTest9 10RUN: rm -rf %t && mkdir %t11RUN: echo H12345678901234667888090 > %t/long_crash12RUN: %env_asan_opts=dedup_token_length=3 %run %t-TwoDifferentBugsTest -seed=1 -minimize_crash=1 %t/long_crash -exact_artifact_path=%t/result 2>&1 | FileCheck %s13 14CHECK: DedupToken1: DEDUP_TOKEN: Bar15CHECK: DedupToken2: DEDUP_TOKEN: Bar16CHECK: DedupToken1: DEDUP_TOKEN: Bar17CHECK: DedupToken2: DEDUP_TOKEN: Foo18CHECK: CRASH_MIN: mismatch in dedup tokens19 20RUN: not  %run %t-TwoDifferentBugsTest %t/result 2>&1 | FileCheck %s --check-prefix=VERIFY21 22VERIFY: ERROR: AddressSanitizer:23VERIFY: in Bar24