Skip to content

Commit 23bc48c

Browse files
committed
exit on failure - and include a greppable error
Makes it easier to run the phpt directly
1 parent 43fdeef commit 23bc48c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/utils/tools.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ function CLEANUP() {
7777
} while (0);
7878
}
7979
} catch(Exception $e) {
80-
echo "skip " . $e->getCode(), ": ", $e->getMessage();
80+
echo "skip (cleanup)" . $e->getCode(), ": ", $e->getMessage();
81+
exit(1);
8182
}
8283
}
8384

0 commit comments

Comments
 (0)