mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-05-05 15:33:00 +00:00
test: run-all runs in parallel
This commit is contained in:
parent
e66a4fcab6
commit
f11c82853f
@ -2,6 +2,7 @@
|
||||
|
||||
, gdb
|
||||
, glxinfo
|
||||
, parallel
|
||||
, pkg-config
|
||||
, scdoc
|
||||
, tracy
|
||||
@ -31,6 +32,7 @@
|
||||
|
||||
# Testing
|
||||
gdb
|
||||
parallel
|
||||
tracy
|
||||
vttest
|
||||
];
|
||||
|
@ -18,9 +18,9 @@ find ${DIR}/cases \
|
||||
-type f \
|
||||
-name '*.sh' | \
|
||||
sort | \
|
||||
xargs \
|
||||
-I '{}' \
|
||||
${DIR}/run-host.sh \
|
||||
parallel \
|
||||
--will-cite \
|
||||
${DIR}/run-host.sh \
|
||||
--case '{}' \
|
||||
--rewrite-abs-path \
|
||||
$@
|
||||
|
@ -71,7 +71,10 @@ fi
|
||||
|
||||
# NOTE: This is a huge hack right now.
|
||||
if [ "$ARG_EXEC" = "ghostty" ]; then
|
||||
ARG_EXEC="/src/ghostty";
|
||||
ARG_EXEC="/tmp/ghostty";
|
||||
|
||||
# Copy so we don't read/write race when running in parallel
|
||||
cp /src/ghostty ${ARG_EXEC}
|
||||
|
||||
# We build in Nix (maybe). To be sure, we replace the interpreter so
|
||||
# it doesn't point to a Nix path. If we don't build in Nix, this should
|
||||
|
Loading…
x
Reference in New Issue
Block a user