diff options
author | Eric Engestrom <eric@engestrom.ch> | 2017-02-26 00:17:52 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2017-02-26 13:39:43 +0000 |
commit | cd35a119adbe1dec7d5d3e59b9e4ff0bd936e927 (patch) | |
tree | 1881fa2e86c8b0eea10a7a9c5f70b619c5740b42 /src/glx | |
parent | a1e5e55989c70c5f58bdd8a797f9a035f068f580 (diff) |
check: make any failure fatal
Previously, only the last error code was returned.
Using `set -e` makes the script quit on any unhandled error.
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Diffstat (limited to 'src/glx')
-rwxr-xr-x | src/glx/tests/dispatch-index-check | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/tests/dispatch-index-check b/src/glx/tests/dispatch-index-check index baa09c5bd9..244634131f 100755 --- a/src/glx/tests/dispatch-index-check +++ b/src/glx/tests/dispatch-index-check @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -e # extract enum definition dispatch_list=$(sed '/__GLXdispatchIndex/,/__GLXdispatchIndex/!d' \ |