]> j8takagi.net Git Repository - YACASL2.git/commitdiff
テストの修正
authorj8takagi <j8takagi@nifty.com>
Wed, 27 Feb 2019 09:44:17 +0000 (18:44 +0900)
committerj8takagi <j8takagi@nifty.com>
Wed, 27 Feb 2019 09:44:17 +0000 (18:44 +0900)
test/system/casl2_opt/opt_opterr/0.txt
test/system/casl2_opt/opt_opterr/cmd
test/system/casl2_opt/opt_opterr/cmd_valgrind [new file with mode: 0644]
test/system/comet2_opt/opt_opterr/0.txt
test/system/comet2_opt/opt_opterr/cmd
test/system/comet2_opt/opt_opterr/cmd_valgrind [new file with mode: 0644]

index f281e210d88a2b38cabaff098d1f0cc37c2a14f3..06d7a628c130d1e9eb94095bce419a04bbf57995 100644 (file)
@@ -1,2 +1 @@
-../../../../casl2: invalid option -- 'z'
 Usage: ../../../../casl2 [-slLaAtTdmvh] [-oO[<OBJECTFILE>]] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE1[ FILE2  ...]
index 2fe73d629097ecc21f4f244f6b297479af6cc147..e34566fa77c7a7e5c4685d0be585453ccc44708e 100755 (executable)
@@ -1 +1 @@
-../../../../casl2 -z ../../../../as/sum_10.casl
+../../../../casl2 -z ../../../../as/sum_10.casl 2>&1 | tail -1
diff --git a/test/system/casl2_opt/opt_opterr/cmd_valgrind b/test/system/casl2_opt/opt_opterr/cmd_valgrind
new file mode 100644 (file)
index 0000000..2fe73d6
--- /dev/null
@@ -0,0 +1 @@
+../../../../casl2 -z ../../../../as/sum_10.casl
index f939ca690bf12debcf5df54b4506b4ec547d3c44..ad4ad387701125654fc5447ba246ef50df3e95ec 100644 (file)
@@ -1,2 +1 @@
-../../../../comet2: invalid option -- 'z'
 Usage: ../../../../comet2 [-tTdmvh] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE
index 313abbac9ded5c66ad2bdc8c24eaadb8d9f56f96..02566cfebf69526c2d8711355a765b51e20cf25d 100755 (executable)
@@ -1 +1 @@
-../../../../comet2 -z a.o
+../../../../comet2 -z a.o 2>&1 | tail -1
diff --git a/test/system/comet2_opt/opt_opterr/cmd_valgrind b/test/system/comet2_opt/opt_opterr/cmd_valgrind
new file mode 100644 (file)
index 0000000..313abba
--- /dev/null
@@ -0,0 +1 @@
+../../../../comet2 -z a.o