Skip to content

Commit c63030f

Browse files
committed
Regression test for goto-link personality
1 parent 64fedd0 commit c63030f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

regression/goto-cl/Fo/link.desc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE goto-link
2+
3+
/ERRORREPORT:QUEUE /OUT:linked.exe /INCREMENTAL /NOLOGO /LIBPATH:..\foo\bar x.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"bla.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"bla.lib" /MACHINE:X86 /SAFESEH:NO dir/main1.obj dir/main2.obj
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
7+
^warning: ignoring
8+
^CONVERSION ERROR$

regression/goto-cl/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
default: tests.log
22

33
test:
4-
@../test.pl -p -c ../../../src/goto-cc/goto-cl
4+
@../test.pl -p -c ../../../src/goto-cc/goto-cl -X goto-link
5+
@cp ../../src/goto-cc/goto-cl.exe ../../src/goto-cc/goto-link.exe
6+
@../test.pl -p -c ../../../src/goto-cc/goto-link -I goto-link
57

68
tests.log: ../test.pl
7-
@../test.pl -p -c ../../../src/goto-cc/goto-cl
9+
@../test.pl -p -c ../../../src/goto-cc/goto-cl -X goto-link
10+
@cp ../../src/goto-cc/goto-cl.exe ../../src/goto-cc/goto-link.exe
11+
@../test.pl -p -c ../../../src/goto-cc/goto-link -I goto-link
812

913
show:
1014
@for dir in *; do \
@@ -17,5 +21,6 @@ clean:
1721
find -name '*.out' -execdir $(RM) '{}' \;
1822
find -name '*.gb' -execdir $(RM) '{}' \;
1923
find -name '*.obj' -execdir $(RM) '{}' \;
24+
find -name '*.exe' -execdir $(RM) '{}' \;
2025
find -name '*.goto-cc-saved' -execdir $(RM) '{}' \;
2126
$(RM) tests.log

0 commit comments

Comments
 (0)