Skip to content

Commit 66c0c67

Browse files
committed
cleanup test
1 parent 6a54a5a commit 66c0c67

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
1-
# Check that lit will not overwrite existing result files when given
2-
# --use-unique-output-file-name.
1+
## Check that lit will not overwrite existing result files when given
2+
## --use-unique-output-file-name.
33

4-
# Files are overwritten without the option.
4+
## Files are overwritten without the option.
55
# RUN: rm -f %t.xunit*.xml
66
# RUN: echo "test" > %t.xunit.xml
77
# RUN: not %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output
88
# RUN: FileCheck < %t.xunit.xml %s --check-prefix=NEW
99

1010
# RUN: rm -f %t.xunit*.xml
1111
# RUN: echo "test" > %t.xunit.xml
12-
# Files should not be overwritten with the option.
12+
## Files should not be overwritten with the option.
1313
# RUN: not %{lit} --xunit-xml-output %t.xunit.xml --use-unique-output-file-name %{inputs}/xunit-output
1414
# RUN: FileCheck < %t.xunit.xml %s --check-prefix=EXISTING
1515
# EXISTING: test
16-
# Results in a new file with "1" added.
16+
## Results in a new file with "1" added.
1717
# RUN: FileCheck < %t.xunit.1.xml %s --check-prefix=NEW
1818
# NEW: <?xml version="1.0" encoding="UTF-8"?>
1919
# NEW-NEXT: <testsuites time="{{[0-9.]+}}">
20-
# (assuming that other tests check the whole contents of the file)
20+
## (assuming that other tests check the whole contents of the file)
2121

22-
# The number should increment as many times as needed.
23-
# RUN: touch %t.xunit.2.xml
24-
# RUN: touch %t.xunit.3.xml
25-
# RUN: touch %t.xunit.4.xml
22+
## The number should increment as many times as needed.
23+
# RUN: touch %t.xunit.2.xml %t.xunit.3.xml %t.xunit.4.xml
2624

2725
# RUN: not %{lit} --xunit-xml-output %t.xunit.xml --use-unique-output-file-name %{inputs}/xunit-output
2826
# RUN: FileCheck < %t.xunit.5.xml %s --check-prefix=NEW

0 commit comments

Comments
 (0)