From 379f2813697e16666f283b3859efff6dd4e35336 Mon Sep 17 00:00:00 2001 From: Steven Cole Date: Tue, 25 Aug 2026 13:03:37 -0700 Subject: [PATCH] Adjust the testing framework slightly --- 262 | 9 ++++++++- test262-config.yaml | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/262 b/262 index 74b9d61a..54c9d8fa 100755 --- a/262 +++ b/262 @@ -1,6 +1,13 @@ path="$1" -find "$path" -name '*.js' | sort | xargs -n 1 -P 0 -I {} sh -c ' +case "$(uname -s)" in + Darwin) default_jobs=60 ;; + *) default_jobs=0 ;; +esac + +JOBS="${JOBS:-$default_jobs}" + +find "$path" -name '*.js' | grep -v "FIXTURE" | sort | xargs -n 1 -P "$JOBS" -I {} sh -c ' tmp="$(mktemp)" { echo "$1:" diff --git a/test262-config.yaml b/test262-config.yaml index db59719c..566c7154 100644 --- a/test262-config.yaml +++ b/test262-config.yaml @@ -10,4 +10,5 @@ - TypedArray - Int32Array - dynamic-import + - explicit-resource-management skipped_tests: [] # Mostly because they take too long to run -- use '--force' to ignore this list