forked from OSchip/llvm-project
[TSan][libdispatch] Move libdispatch tests out of Darwin folder
The libdispatch tests are now not tied to Darwin anymore. Move them to their own platform-independent folder. llvm-svn: 358316
This commit is contained in:
parent
fef8de66a6
commit
c77bf89dcc
|
@ -33,5 +33,5 @@ int main() {
|
|||
// CHECK: Hello world.
|
||||
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
|
||||
// CHECK: WARNING: ThreadSanitizer: data race
|
||||
// CHECK: Location is global 'global' {{(of size 8 )?}}at [[ADDR]] (gcd-async-race.mm.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Location is global 'global' {{(of size 8 )?}}at [[ADDR]] (async-race.c.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Done.
|
|
@ -43,5 +43,5 @@ int main() {
|
|||
// CHECK: Hello world.
|
||||
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
|
||||
// CHECK: WARNING: ThreadSanitizer: data race
|
||||
// CHECK: Location is global 'global' {{(of size 8 )?}}at [[ADDR]] (gcd-barrier-race.mm.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Location is global 'global' {{(of size 8 )?}}at [[ADDR]] (barrier-race.c.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Done.
|
|
@ -50,5 +50,5 @@ int main(int argc, const char *argv[]) {
|
|||
// CHECK: Hello world.
|
||||
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
|
||||
// CHECK: WARNING: ThreadSanitizer: data race
|
||||
// CHECK: Location is global 'my_global' {{(of size 8 )?}}at [[ADDR]] (gcd-io-barrier-race.mm.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Location is global 'my_global' {{(of size 8 )?}}at [[ADDR]] (io-barrier-race.c.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Done.
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
// REQUIRES: disabled
|
||||
|
||||
#import "../test.h"
|
||||
#include <dispatch/dispatch.h>
|
||||
|
||||
#include "../test.h"
|
||||
|
||||
dispatch_queue_t queue;
|
||||
dispatch_data_t data;
|
||||
|
@ -49,5 +51,5 @@ int main(int argc, const char *argv[]) {
|
|||
// CHECK: Hello world.
|
||||
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
|
||||
// CHECK: WARNING: ThreadSanitizer: data race
|
||||
// CHECK: Location is global 'my_global' {{(of size 8 )?}}at [[ADDR]] (gcd-io-race.mm.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Location is global 'my_global' {{(of size 8 )?}}at [[ADDR]] (io-race.c.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Done.
|
|
@ -38,5 +38,5 @@ int main() {
|
|||
// CHECK: Hello world.
|
||||
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
|
||||
// CHECK: WARNING: ThreadSanitizer: data race
|
||||
// CHECK: Location is global 'global' {{(of size 8 )?}}at [[ADDR]] (gcd-sync-race.mm.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Location is global 'global' {{(of size 8 )?}}at [[ADDR]] (sync-race.c.tmp+0x{{[0-9,a-f]+}})
|
||||
// CHECK: Done.
|
Loading…
Reference in New Issue