瀏覽代碼

* renamed tests so they get executed by the testsuite
* fixed texec2 so it hopefully works for both *nix and windows

git-svn-id: trunk@10847 -

Jonas Maebe 17 年之前
父節點
當前提交
f24cecc750

+ 3 - 3
.gitattributes

@@ -7679,10 +7679,10 @@ tests/test/units/system/tval3.pp -text
 tests/test/units/system/tval4.pp -text
 tests/test/units/system/tval5.pp svneol=native#text/plain
 tests/test/units/system/tvalc.pp -text
-tests/test/units/sysutils/execansi.pp svneol=native#text/plain
-tests/test/units/sysutils/execedbya.pp svneol=native#text/plain
-tests/test/units/sysutils/extractquote.pp svneol=native#text/plain
 tests/test/units/sysutils/tastrcmp.pp svneol=native#text/plain
+tests/test/units/sysutils/texec1.pp svneol=native#text/plain
+tests/test/units/sysutils/texec2.pp svneol=native#text/plain
+tests/test/units/sysutils/textractquote.pp svneol=native#text/plain
 tests/test/units/sysutils/tfile1.pp svneol=native#text/plain
 tests/test/units/sysutils/tfilename.pp svneol=native#text/plain
 tests/test/units/sysutils/tfloattostr.pp -text

+ 0 - 0
tests/test/units/sysutils/execedbya.pp → tests/test/units/sysutils/texec1.pp


+ 5 - 1
tests/test/units/sysutils/execansi.pp → tests/test/units/sysutils/texec2.pp

@@ -7,7 +7,11 @@ var cmd,cmdline : String;
     i           : Longint;
 
 begin
-  cmd:='execedbya';
+{$ifdef unix}
+  cmd:='./texec1';
+{$else}
+  cmd:='texec1.exe';
+{$endif}
   cmdline:='';
   for i:=0 to 10 do
    cmdline:=cmdline+'-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/rtl/* ';

+ 0 - 0
tests/test/units/sysutils/extractquote.pp → tests/test/units/sysutils/textractquote.pp