Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/testing/web-platform/tests/tools/ci/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  update-test262.sh

  Sprache: Shell
 

#!/bin/bash
set -ex

# This script is intended to be run from the root of the WPT repository.
# It handles syncing tc39/test262 into third_party/test262.

# Ensure we are in the WPT root
SCRIPT_DIR=$(cd $(dirname "$0") && pwd -P)
WPT_ROOT=$SCRIPT_DIR/../..
cd $WPT_ROOT

SPEC_DIR="${1:-../test262-spec}"

if [ ! -d "$SPEC_DIR" ]; then
    echo "Error: Test262 spec directory not found at $SPEC_DIR"
    exit 1
fi

LATEST_SHA=$(git -C "$SPEC_DIR" rev-parse HEAD)
echo "Latest remote Test262 SHA: $LATEST_SHA"

# Base destination directory
TEST262_DEST="$WPT_ROOT/third_party/test262"
TEST_DEST="$TEST262_DEST/test"
HARNESS_DEST="$TEST262_DEST/harness"

# Ensure directories exist
mkdir -p "$TEST_DEST"
mkdir -p "$HARNESS_DEST"

# Use the persistent exclude list from the destination directory to protect WPT-specific metadata
EXCLUDE_FILE="$TEST262_DEST/.rsync-exclude"

RSYNC_OPTS=(-a --delete --exclude-from="$EXCLUDE_FILE")

# Sync the harness files
rsync "${RSYNC_OPTS[@]}" "$SPEC_DIR/harness/" "$HARNESS_DEST/"

# Sync all tests
rsync "${RSYNC_OPTS[@]}" "$SPEC_DIR/test/" "$TEST_DEST/"

# Write the version info
printf "[test262]\nsource = \"https://github.com/tc39/test262\"\nrev = \"${LATEST_SHA}\"\n" > "$TEST262_DEST/vendored.toml"

Messung V0.5 in Prozent
C=98 H=100 G=98

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.