[PATCH] D110734: Adapt `tsan/flush_memory.cpp` to run on non-local platforms.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 10:39:56 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcac25e40428d: Adapt `tsan/flush_memory.cpp` to run on non-local platforms. (authored by delcypher).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110734/new/

https://reviews.llvm.org/D110734

Files:
  compiler-rt/test/tsan/flush_memory.cpp


Index: compiler-rt/test/tsan/flush_memory.cpp
===================================================================
--- compiler-rt/test/tsan/flush_memory.cpp
+++ compiler-rt/test/tsan/flush_memory.cpp
@@ -1,4 +1,5 @@
-// RUN: %clangxx_tsan -O1 %s -o %t && %env_tsan_opts="flush_memory_ms=1 flush_symbolizer_ms=1 memory_limit_mb=1" %deflake %t | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t
+// RUN: %env_tsan_opts="flush_memory_ms=1 flush_symbolizer_ms=1 memory_limit_mb=1" %deflake %run %t | FileCheck %s
 #include "test.h"
 
 long X, Y;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110734.375957.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/7ef9c75d/attachment.bin>


More information about the llvm-commits mailing list