[clang] use a different name for generated test cdb

if build system copied source files as readonly, then override of db_tu.json
will fail
This commit is contained in:
Mikhail Goncharov 2021-06-04 18:10:17 +02:00
parent eba3ee04d4
commit b109172d99
1 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@
// Scan dependencies of the TU:
//
// RUN: sed "s|DIR|%/t|g" %S/Inputs/modules-pch/cdb_tu.json > %t/cdb_tu.json
// RUN: clang-scan-deps -compilation-database %t/cdb_tu.json -format experimental-full \
// RUN: sed "s|DIR|%/t|g" %S/Inputs/modules-pch/cdb_tu.json > %t/cdb.json
// RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full \
// RUN: -generate-modules-path-args -module-files-dir %t/build