[PATCH] D89349: Added utility to launch tests on a target remotely.

Alex Orlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 14:04:39 PDT 2020


aorlov updated this revision to Diff 298750.
aorlov added a comment.

Changed the parameter --test-executable to --exec-pattern;
Used regex instead of fnmatch;
Fixed bugs that appeared in case of complicated command line.
Note I used the following command line for tests:
python remote-exec.py --host user at host --execdir llvm-project/build/runtimes/runtimes-bins/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/Output/cin.sh.cpp.dir --codesign_identity "" --env "" -- echo "123" "|" llvm-project/build/runtimes/runtimes-bins/libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/Output/cin.sh.cpp.dir/t.tmp.exe ">" t.tmp.out "&&" grep -e "The number is 123!" t.tmp.out


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89349

Files:
  llvm/utils/remote-exec.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89349.298750.patch
Type: text/x-patch
Size: 6448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201016/a29c6f13/attachment.bin>


More information about the llvm-commits mailing list