Skip to content

Commit 4d992c9

Browse files
committed
[clang/test/CAS] Re-enable some test RUNs that I left disabled by mistake
1 parent a1e0a3b commit 4d992c9

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

clang/test/CAS/fcas-include-tree-prefix-mapping.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -90,26 +90,26 @@
9090
// RUN: -emit-obj %t/src/main.c -o %t/out/main.o -include-pch %t/out/prefix.h.pch -I %t/src/inc
9191
// RUN: %clang @%t/t3.rsp 2> %t/output3.txt
9292

93-
// RN: cat %t/output3.txt | sed \
94-
// RN: -e "s/^.*miss for '//" \
95-
// RN: -e "s/' .*$//" > %t/cache-key3
96-
97-
// RN: %clang -cc1depscan -fdepscan=inline -fdepscan-include-tree \
98-
// RN: -fdepscan-prefix-map=%t/src2=/^src -fdepscan-prefix-map=%t/out2=/^out -fdepscan-prefix-map-toolchain=/^toolchain -fdepscan-prefix-map-sdk=/^sdk \
99-
// RN: -o %t/t4.rsp -cc1-args \
100-
// RN: -cc1 -triple x86_64-apple-macos11 -fcas-path %t/cas -faction-cache-path %t/cache -Rcompile-job-cache \
101-
// RN: -resource-dir %S/Inputs/toolchain_dir/lib/clang/1000 -internal-isystem %S/Inputs/toolchain_dir/lib/clang/1000/include \
102-
// RN: -isysroot %S/Inputs/SDK -internal-externc-isystem %S/Inputs/SDK/usr/include \
103-
// RN: -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb -fdebug-compilation-dir=%t/out2 \
104-
// RN: -emit-obj %t/src2/main.c -o %t/out2/main.o -include-pch %t/out2/prefix.h.pch -I %t/src2/inc
105-
// RN: %clang @%t/t4.rsp 2> %t/output4.txt
106-
107-
// RN: cat %t/output4.txt | sed \
108-
// RN: -e "s/^.*hit for '//" \
109-
// RN: -e "s/' .*$//" > %t/cache-key4
110-
111-
// RN: diff -u %t/cache-key3 %t/cache-key4
112-
// RN: diff %t/out/main.o %t/out2/main.o
93+
// RUN: cat %t/output3.txt | sed \
94+
// RUN: -e "s/^.*miss for '//" \
95+
// RUN: -e "s/' .*$//" > %t/cache-key3
96+
97+
// RUN: %clang -cc1depscan -fdepscan=inline -fdepscan-include-tree \
98+
// RUN: -fdepscan-prefix-map=%t/src2=/^src -fdepscan-prefix-map=%t/out2=/^out -fdepscan-prefix-map-toolchain=/^toolchain -fdepscan-prefix-map-sdk=/^sdk \
99+
// RUN: -o %t/t4.rsp -cc1-args \
100+
// RUN: -cc1 -triple x86_64-apple-macos11 -fcas-path %t/cas -faction-cache-path %t/cache -Rcompile-job-cache \
101+
// RUN: -resource-dir %S/Inputs/toolchain_dir/lib/clang/1000 -internal-isystem %S/Inputs/toolchain_dir/lib/clang/1000/include \
102+
// RUN: -isysroot %S/Inputs/SDK -internal-externc-isystem %S/Inputs/SDK/usr/include \
103+
// RUN: -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb -fdebug-compilation-dir=%t/out2 \
104+
// RUN: -emit-obj %t/src2/main.c -o %t/out2/main.o -include-pch %t/out2/prefix.h.pch -I %t/src2/inc
105+
// RUN: %clang @%t/t4.rsp 2> %t/output4.txt
106+
107+
// RUN: cat %t/output4.txt | sed \
108+
// RUN: -e "s/^.*hit for '//" \
109+
// RUN: -e "s/' .*$//" > %t/cache-key4
110+
111+
// RUN: diff -u %t/cache-key3 %t/cache-key4
112+
// RUN: diff %t/out/main.o %t/out2/main.o
113113

114114
//--- main.c
115115
#include "t.h"

0 commit comments

Comments
 (0)