blob: ae2432a31a3876fe7b4ea5f342a2fb8ad73868db [file] [edit]
# Tests -features_dir=F
# REQUIRES: linux
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: %python -c "import glob; import os; assert all([os.path.exists(f'%t-F/{os.path.basename(file_path)}') for file_path in list(glob.glob('%t-C/*'))])"