Browse Source

* disable debug info generation, because these tests require smart linking,
which is incompatible with smart linking on most platforms

git-svn-id: trunk@12893 -

Jonas Maebe 16 years ago
parent
commit
2c94fca8e1
2 changed files with 6 additions and 2 deletions
  1. 3 1
      tests/test/opt/twpo4.pp
  2. 3 1
      tests/test/opt/twpo5.pp

+ 3 - 1
tests/test/opt/twpo4.pp

@@ -1,7 +1,9 @@
 { %target=darwin,linux,freebsd,solaris }
 { %wpoparas=devirtcalls,optvmts,symbolliveness }
 { %wpopasses=2 }
-{ %opt=-CX -XX -Xs- }
+{ %opt=-CX -XX -Xs- -g- }
+
+{ -g- because DWARF debug info does not work with smart linking }
 
 { not enabled for windows yet because symbolliveness doesn't work there without
   installing "nm" (until implemented by way of internal linker there)

+ 3 - 1
tests/test/opt/twpo5.pp

@@ -1,7 +1,9 @@
 { %target=darwin,linux,freebsd,solaris }
 { %wpoparas=devirtcalls,optvmts,symbolliveness }
 { %wpopasses=2 }
-{ %opt=-CX -XX -Xs- }
+{ %opt=-CX -XX -Xs- -g- }
+
+{ -g- because DWARF debug info does not work with smart linking }
 
 { not enabled for windows yet because symbolliveness doesn't work there without
   installing "nm" (until implemented by way of internal linker there)