From 3cc8467fc4131990d3bea985c24bc0e0a02202c7 Mon Sep 17 00:00:00 2001 From: guiquanz Date: Tue, 21 Mar 2017 12:33:02 +0800 Subject: [PATCH] Skip: 30,34,40 and 46 test cases. --- t/{30_hanoi.t_e => 30_hanoi.t} | 2 +- t/{34_array_assignment.t_e => 34_array_assignment.t} | 8 +++----- t/{46_grep.t_e => 46_grep.t} | 4 +++- 3 files changed, 7 insertions(+), 7 deletions(-) rename t/{30_hanoi.t_e => 30_hanoi.t} (98%) rename t/{34_array_assignment.t_e => 34_array_assignment.t} (77%) rename t/{46_grep.t_e => 46_grep.t} (99%) diff --git a/t/30_hanoi.t_e b/t/30_hanoi.t similarity index 98% rename from t/30_hanoi.t_e rename to t/30_hanoi.t index d5b7da2..d9331ad 100644 --- a/t/30_hanoi.t_e +++ b/t/30_hanoi.t @@ -2,7 +2,7 @@ # vi: ft= et tw=4 sw=4 use lib 't/lib'; -use Test::Sakura 'no_plan'; +use Test::Sakura skip_all => 'Skip: seg fault in the code, gcc as well'; run_tests(); diff --git a/t/34_array_assignment.t_e b/t/34_array_assignment.t similarity index 77% rename from t/34_array_assignment.t_e rename to t/34_array_assignment.t index 61c55be..c39c50a 100644 --- a/t/34_array_assignment.t_e +++ b/t/34_array_assignment.t @@ -1,8 +1,6 @@ - -# vi: ft= et tw=4 sw=4 - use lib 't/lib'; -use Test::Sakura 'no_plan'; +#use Test::Sakura 'no_plan'; +use Test::Sakura skip_all => 'Skip on not supported'; run_tests(); @@ -27,7 +25,7 @@ int main() int b[4]; - b = a; + b = a; // not supported printf("%d %d %d %d\n", b[0], b[1], b[2], b[3]); diff --git a/t/46_grep.t_e b/t/46_grep.t similarity index 99% rename from t/46_grep.t_e rename to t/46_grep.t index d972be0..192e2bc 100644 --- a/t/46_grep.t_e +++ b/t/46_grep.t @@ -2,7 +2,8 @@ # vi: ft= et tw=4 sw=4 use lib 't/lib'; -use Test::Sakura 'no_plan'; +use Test::Sakura skip_all => 'Skip: does not compile even with gcc'; + run_tests(); @@ -111,6 +112,7 @@ char *pp, lbuf[LMAX], pbuf[PMAX]; char *cclass(); char *pmatch(); +void store(int op); /*** Display a file name *******************************/