summaryrefslogtreecommitdiffstats
path: root/vendor/regex-syntax/test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:53 +0000
commit73e0a5b7696ea019ba35b89f38fc8e7b285d99cb (patch)
tree0d2e175af6f114cb50a675bec0bc76e12e1bceb4 /vendor/regex-syntax/test
parentAdding upstream version 1.75.0+dfsg1. (diff)
downloadrustc-upstream.tar.xz
rustc-upstream.zip
Adding upstream version 1.76.0+dfsg1.upstream/1.76.0+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/regex-syntax/test')
-rwxr-xr-xvendor/regex-syntax/test4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/regex-syntax/test b/vendor/regex-syntax/test
index a4d6cfaba..8626c3bfc 100755
--- a/vendor/regex-syntax/test
+++ b/vendor/regex-syntax/test
@@ -2,6 +2,10 @@
set -e
+# cd to the directory containing this crate's Cargo.toml so that we don't need
+# to pass --manifest-path to every `cargo` command.
+cd "$(dirname "$0")"
+
# This is a convenience script for running a broad swath of the syntax tests.
echo "===== DEFAULT FEATURES ==="
cargo test