3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-12-16 17:29:03 +00:00

Limit YOSYS_MAX_THREADS to 4 when running seed-tests

This commit is contained in:
Robert O'Callahan 2025-11-27 21:57:35 +00:00 committed by Emil J. Tywoniak
parent fc951a28d3
commit a871415abf
23 changed files with 23 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
OPTIND=1
seed="" # default to no seed specified

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
for x in *.ys; do
echo "Running $x.."

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
# run this test many times:
# MAKE="make -j8" time bash -c 'for ((i=0; i<100; i++)); do echo "-- $i --"; bash run-test.sh || exit 1; done'

1
tests/common-env.sh Normal file
View file

@ -0,0 +1 @@
export YOSYS_MAX_THREADS=4

View file

@ -1,4 +1,5 @@
#!/bin/bash
source ../common-env.sh
set -ex

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -ex

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
# run this test many times:
# time bash -c 'for ((i=0; i<100; i++)); do echo "-- $i --"; bash run-test.sh || exit 1; done'

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
OPTIND=1
seed="" # default to no seed specified

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -eo pipefail
for x in *.lib; do

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -eu
OPTIND=1

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
# run this test many times:
# time bash -c 'for ((i=0; i<100; i++)); do echo "-- $i --"; bash run-test.sh || exit 1; done'

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
for x in *.ys; do
echo "Running $x.."

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
for x in *.ys; do
echo "Running $x.."

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
for x in *.ys; do
echo "Running $x.."

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
for x in *.ys; do
echo "Running $x.."

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
# run this test many times:
# time bash -c 'for ((i=0; i<100; i++)); do echo "-- $i --"; bash run-test.sh || exit 1; done'

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
OPTIND=1
seed="" # default to no seed specified

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
OPTIND=1
seed="" # default to no seed specified

View file

@ -1,4 +1,5 @@
#/bin/bash -e
source ../common-env.sh
./runone.sh svinterface1
./runone.sh svinterface_at_top

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
source ../common-env.sh
set -e
python3 generate.py $@