Add gfx950 mfma instructions to ROCDL dialect (#123361)
[llvm-project.git] / llvm / utils / lit / tests / unique-output-file.py
blobfea57682d9fdabaec8c2413e362797311230ac21
1 ## Check that lit will not overwrite existing result files when given
2 ## --use-unique-output-file-name.
4 ## Files are overwritten without the option.
5 # RUN: rm -f %t.xunit*.xml
6 # RUN: echo "test" > %t.xunit.xml
7 # RUN: not %{lit} --xunit-xml-output %t.xunit.xml %{inputs}/xunit-output
8 # RUN: FileCheck < %t.xunit.xml %s --check-prefix=NEW
9 # NEW: <?xml version="1.0" encoding="UTF-8"?>
10 # NEW-NEXT: <testsuites time="{{[0-9.]+}}">
11 ## (other tests will check the contents of the whole file)
13 # RUN: rm -f %t.xunit*.xml
14 # RUN: echo "test" > %t.xunit.xml
15 ## Files should not be overwritten with the option.
16 # RUN: not %{lit} --xunit-xml-output %t.xunit.xml --use-unique-output-file-name %{inputs}/xunit-output
17 # RUN: FileCheck < %t.xunit.xml %s --check-prefix=EXISTING
18 # EXISTING: test
19 ## Results in a new file with some discriminator added.
20 # RUN: ls -l %t.xunit*.xml | wc -l | FileCheck %s --check-prefix=NUMFILES
21 # NUMFILES: 2
22 # RUN: FileCheck < %t.xunit.*.xml %s --check-prefix=NEW