Example #1
0
int main() {
    fprintf(stderr, "Begin test\n");
    TestStruct();
    TestVtable();
    TestBranchStatistics();
    TestMoveableHGLOBAL();
    TestDynamicIAT();
    TestStackVars();
    TestMalloc();
    TestCustomMalloc();
    TestInvalidMemoryAccess();
    TestPointerMembers();
    TestTimeExpense();
    fprintf(stderr, "End test\n");
    return 1;
}
Example #2
0
int main(int argc, char *argv[]) {
  if (argc == 2) {
    g_num_test_loops = atoi(argv[1]);
  }
  TestTlsAndSync();
  TestManyThreadsJoinable();
  TestManyThreadsDetached();
  TestSemaphores();
  TestSemaphoreInitDestroy();
  TestPthreadOnce();
  TestRecursiveMutex();
  TestErrorCheckingMutex();
  TestTSD();
  TestMalloc();
  TestRealloc();
  TestIntrinsics();
  TestCondvar();

  return g_errors;
}