Home | History | Annotate | Download | only in tsan

Lines Matching defs:Test

2 #include "test.h"
8 void Test(int test, T *p, bool main_thread) {
10 if (test == 0) {
15 } else if (test == 1) {
20 } else if (test == 2) {
25 } else if (test == 3) {
35 Test(i, &atomics[i], false);
40 fprintf(stderr, "Test %d reverse\n", i);
41 Test(i, &atomics[kTestCount + i], false);
52 fprintf(stderr, "Test %d\n", i);
53 Test(i, &atomics[i], true);
56 Test(i, &atomics[kTestCount + i], true);
62 // CHECK: Test 0
65 // CHECK: Test 1
68 // CHECK: Test 2
71 // CHECK: Test 3
74 // CHECK: Test 0 reverse
76 // CHECK: Test 1 reverse
78 // CHECK: Test 2 reverse
80 // CHECK: Test 3 reverse