summaryrefslogtreecommitdiffstats
path: root/src/glx/tests
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-02-26 00:17:52 +0000
committerEric Engestrom <[email protected]>2017-02-26 13:39:43 +0000
commitcd35a119adbe1dec7d5d3e59b9e4ff0bd936e927 (patch)
tree1881fa2e86c8b0eea10a7a9c5f70b619c5740b42 /src/glx/tests
parenta1e5e55989c70c5f58bdd8a797f9a035f068f580 (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 <[email protected]>
Diffstat (limited to 'src/glx/tests')
-rwxr-xr-xsrc/glx/tests/dispatch-index-check1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/tests/dispatch-index-check b/src/glx/tests/dispatch-index-check
index baa09c5bd93..244634131f6 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' \