[llvm-commits] [compiler-rt] r172976 - in /compiler-rt/trunk/lib/asan/lit_tests: log_path_fork_test.cc log_path_fork_test.cc.disabled

Alexey Samsonov samsonov at google.com
Sun Jan 20 05:41:26 PST 2013


Author: samsonov
Date: Sun Jan 20 07:41:26 2013
New Revision: 172976

URL: http://llvm.org/viewvc/llvm-project?rev=172976&view=rev
Log:
Temporary disable test added in r172828 as it seems to be flaky on the buildbots

Added:
    compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc.disabled
      - copied unchanged from r172973, compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc
Removed:
    compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc

Removed: compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc?rev=172975&view=auto
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/log_path_fork_test.cc (removed)
@@ -1,22 +0,0 @@
-// RUN: %clangxx_asan  %s -o %t
-// RUN: rm -f %t.log.*
-// Set verbosity to 1 so that the log files are opened prior to fork().
-// RUN: ASAN_OPTIONS="log_path=%t.log verbosity=1" not %t 2> %t.out
-// RUN: for f in %t.log.* ; do FileCheck %s < $f; done
-// RUN: [ `ls %t.log.* | wc -l` == 2 ]
-
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-int main(int argc, char **argv) {
-  void *x = malloc(10);
-  free(x);
-  if (fork() == -1) return 1;
-  // There are two processes at this point, thus there should be two distinct
-  // error logs.
-  free(x);
-  return 0;
-}
-
-// CHECK: ERROR: AddressSanitizer





More information about the llvm-commits mailing list