[PATCH] tsan: automatically deflake flaky tests

Alexey Samsonov vonosmas at gmail.com
Tue May 27 14:35:50 PDT 2014


================
Comment at: test/tsan/deflake.bash:8
@@ +7,3 @@
+
+BIN=$1
+SRC=$2
----------------
Dmitry Vyukov wrote:
> Alexey Samsonov wrote:
> > What about the %run argument? If it is expanded to anything non-empty, this script won't work.
> Can it be expanded to anything non-empty?
> I guess it's not possible to pass some abstract way of running a program into a shell script.
Well, it can, otherwise %run wouldn't be there. Although, I never tried it (by setting config.emulator). Adding Greg for comments on this.

http://reviews.llvm.org/D3913






More information about the llvm-commits mailing list