Skip to content

Commit 55cc8c3

Browse files
committed
Consistently added "-error" suffix in regression test error case filenames
The `.cpp2` cases that should generate errors and not output a valid `.cpp` file all now end with `-error.cpp2`
1 parent 942b5ba commit 55cc8c3

23 files changed

+43
-37
lines changed

regression-tests/run-tests.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
REM This is intended to be run in the /test-results directory
2+
REM A copy is in the parent directory just for convenience in case of accidental deletion.
3+
REM
14
@echo off
25
copy ..\*.cpp2 .
36
set count=0
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mixed-initialization-safety-1-error.cpp2...
2+
mixed-initialization-safety-1-error.cpp2(30,21): error: local variable x is used before it was initialized
3+
==> program violates initialization safety guarantee - see previous errors
4+

regression-tests/test-results/mixed-initialization-safety-1.cpp2.output

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)