summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-03-25 21:49:54 +0000
committerDouglas Gregor <dgregor@apple.com>2013-03-25 21:49:54 +0000
commitb0c9201eb9666c9d71e3dfc328d71d3998d587e7 (patch)
tree23da4cf1ec58276f0f17090023ab2f9abf6ab0b0 /clang/test
parent07544fa55f19264d1f621758100db004d1be6da3 (diff)
downloadbcm5719-llvm-b0c9201eb9666c9d71e3dfc328d71d3998d587e7.tar.gz
bcm5719-llvm-b0c9201eb9666c9d71e3dfc328d71d3998d587e7.zip
Use xargs rather than
llvm-svn: 177923
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Modules/prune.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/prune.m b/clang/test/Modules/prune.m
index 062156ec7c6..c4018f96575 100644
--- a/clang/test/Modules/prune.m
+++ b/clang/test/Modules/prune.m
@@ -28,7 +28,7 @@
// Set the DependsOnModule access time back more than four days.
// This shouldn't prune anything, because the timestamp has been updated, so
// the pruning mechanism won't fire.
-// RUN: touch -a -t 201101010000 `find /Volumes/Data/dgregor/Projects/llvm-build-xcode/tools/clang/test/Modules/Output/prune.m.tmp -name DependsOnModule.pcm`
+// RUN: find /Volumes/Data/dgregor/Projects/llvm-build-xcode/tools/clang/test/Modules/Output/prune.m.tmp -name DependsOnModule.pcm | xargs touch -a -t 201101010000
// RUN: %clang_cc1 -fmodules -F %S/Inputs -fmodules-cache-path=%t -fmodules -fmodules-prune-interval=172800 -fmodules-prune-after=345600 %s -verify
// RUN: ls %t | grep modules.timestamp
// RUN: ls -R %t | grep ^Module.pcm
@@ -37,7 +37,7 @@
// Set both timestamp and DependsOnModule.pcm back beyond the cutoff.
// This should trigger pruning, which will remove DependsOnModule but not Module.
// RUN: touch -m -a -t 201101010000 %t/modules.timestamp
-// RUN: touch -a -t 201101010000 `find /Volumes/Data/dgregor/Projects/llvm-build-xcode/tools/clang/test/Modules/Output/prune.m.tmp -name DependsOnModule.pcm`
+// RUN: find /Volumes/Data/dgregor/Projects/llvm-build-xcode/tools/clang/test/Modules/Output/prune.m.tmp -name DependsOnModule.pcm | xargs touch -a -t 201101010000
// RUN: %clang_cc1 -fmodules -F %S/Inputs -fmodules-cache-path=%t -fmodules -fmodules-prune-interval=172800 -fmodules-prune-after=345600 %s -verify
// RUN: ls %t | grep modules.timestamp
// RUN: ls -R %t | grep ^Module.pcm
OpenPOWER on IntegriCloud