File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
- // RUN: rm -rf %t
2
- // RUN: mkdir %t
1
+ // RUN: rm -rf %t && mkdir -p %t
3
2
// RUN: echo "" > %t/compile_flags.txt
4
3
// RUN: cp "%s" "%t/test.cpp"
5
4
// RUN: clang-doc --doxygen --public --executor=standalone -p %t %t/test.cpp -output=%t/docs
6
5
// This produces two files, index.yaml and one for the record named by its USR
7
6
// (which we don't know in advance). This checks the record file by searching
8
7
// for a name with a 40-char USR name.
9
8
// RUN: find %t/docs -regex ".*/[0-9A-F]*.yaml" -exec cat {} ";" | FileCheck %s --check-prefix=CHECK
10
- // RUN: rm -rf %t
11
9
12
10
class Record {
13
11
private:
Original file line number Diff line number Diff line change 1
- // RUN: rm -rf %t
2
- // RUN: mkdir %t
1
+ // RUN: rm -rf %t && mkdir -p %t
3
2
// RUN: echo "" > %t/compile_flags.txt
4
3
// RUN: cp "%s" "%t/test.cpp"
5
4
// RUN: clang-doc --doxygen --executor=standalone -p %t %t/test.cpp -output=%t/docs
6
5
// RUN: cat %t/docs/index.yaml | FileCheck %s --check-prefix=CHECK
7
- // RUN: rm -rf %t
8
6
9
7
void function (int x);
10
8
Original file line number Diff line number Diff line change 1
- // RUN: rm -rf %t && mkdir %t
1
+ // RUN: rm -rf %t && mkdir -p %t
2
2
// RUN: clang-doc --format=html --executor=standalone %s --output=%t
3
3
// RUN: FileCheck %s -input-file=%t/index_json.js -check-prefix=JSON-INDEX
4
- // RUN: rm -rf %t
5
4
6
- // JSON-INDEX: var RootPath = "{{.*}}test-path-abs.cpp.tmp";
5
+ // JSON-INDEX: var RootPath = "{{.*}}test-path-abs.cpp.tmp";
6
+
You can’t perform that action at this time.
0 commit comments