diff options
Diffstat (limited to 'test/CodeGen/debug-info-compilation-dir.c')
| -rw-r--r-- | test/CodeGen/debug-info-compilation-dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/debug-info-compilation-dir.c b/test/CodeGen/debug-info-compilation-dir.c index be2cc3542df0..786d23556de9 100644 --- a/test/CodeGen/debug-info-compilation-dir.c +++ b/test/CodeGen/debug-info-compilation-dir.c @@ -1,4 +1,6 @@ -// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -debug-info-kind=limited %s -o - | FileCheck -check-prefix=CHECK-NONSENSE %s +// RUN: mkdir -p %t.dir && cd %t.dir +// RUN: cp %s rel.c +// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -debug-info-kind=limited rel.c -o - | FileCheck -check-prefix=CHECK-NONSENSE %s // CHECK-NONSENSE: nonsense // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck -check-prefix=CHECK-DIR %s |
