.. | .. |
---|
910 | 910 | fprintf(TH_LOG_STREAM, |
---|
911 | 911 | "# %s: Test terminated by timeout\n", t->name); |
---|
912 | 912 | } else if (WIFEXITED(status)) { |
---|
913 | | - if (t->termsig != -1) { |
---|
| 913 | + if (WEXITSTATUS(status) == 255) { |
---|
| 914 | + /* SKIP */ |
---|
| 915 | + t->passed = 1; |
---|
| 916 | + t->skip = 1; |
---|
| 917 | + } else if (t->termsig != -1) { |
---|
914 | 918 | t->passed = 0; |
---|
915 | 919 | fprintf(TH_LOG_STREAM, |
---|
916 | 920 | "# %s: Test exited normally instead of by signal (code: %d)\n", |
---|
.. | .. |
---|
921 | 925 | /* Success */ |
---|
922 | 926 | case 0: |
---|
923 | 927 | t->passed = 1; |
---|
924 | | - break; |
---|
925 | | - /* SKIP */ |
---|
926 | | - case 255: |
---|
927 | | - t->passed = 1; |
---|
928 | | - t->skip = 1; |
---|
929 | 928 | break; |
---|
930 | 929 | /* Other failure, assume step report. */ |
---|
931 | 930 | default: |
---|