mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
test: run-all runs in parallel
This commit is contained in:
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
, gdb
|
, gdb
|
||||||
, glxinfo
|
, glxinfo
|
||||||
|
, parallel
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, scdoc
|
, scdoc
|
||||||
, tracy
|
, tracy
|
||||||
@ -31,6 +32,7 @@
|
|||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
gdb
|
gdb
|
||||||
|
parallel
|
||||||
tracy
|
tracy
|
||||||
vttest
|
vttest
|
||||||
];
|
];
|
||||||
|
@ -18,9 +18,9 @@ find ${DIR}/cases \
|
|||||||
-type f \
|
-type f \
|
||||||
-name '*.sh' | \
|
-name '*.sh' | \
|
||||||
sort | \
|
sort | \
|
||||||
xargs \
|
parallel \
|
||||||
-I '{}' \
|
--will-cite \
|
||||||
${DIR}/run-host.sh \
|
${DIR}/run-host.sh \
|
||||||
--case '{}' \
|
--case '{}' \
|
||||||
--rewrite-abs-path \
|
--rewrite-abs-path \
|
||||||
$@
|
$@
|
||||||
|
@ -71,7 +71,10 @@ fi
|
|||||||
|
|
||||||
# NOTE: This is a huge hack right now.
|
# NOTE: This is a huge hack right now.
|
||||||
if [ "$ARG_EXEC" = "ghostty" ]; then
|
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
|
# 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
|
# it doesn't point to a Nix path. If we don't build in Nix, this should
|
||||||
|
Reference in New Issue
Block a user