
This patch makes the features_dir.test file require a shell when running. This will make the test file unsupported when running llvm-lit with its internal shell implementation, which is enabled by turning on the LIT_USE_INTERNAL_SHELL environment variable. Lit's internal shell currently does not support for-loop syntax.
8 lines
283 B
Plaintext
8 lines
283 B
Plaintext
# Tests -features_dir=F
|
|
# REQUIRES: linux, shell
|
|
RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
|
|
RUN: rm -rf %t-C %t-F
|
|
RUN: mkdir %t-C %t-F
|
|
RUN: not %run %t-SimpleTest %t-C -features_dir=%t-F
|
|
RUN: for c in %t-C/*; do f=%t-F/$(basename $c); echo looking for $f; [ -a $f ]; done
|