3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-23 11:37:55 +00:00

tests: use /usr/bin/env for bash.

This commit is contained in:
Charlotte 2023-08-12 11:59:39 +10:00
parent 860e3e4056
commit d130f7fca2
56 changed files with 56 additions and 56 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
../../yosys -qq -f verilog -p "proc; opt; memory -nomap -bram temp/brams_${2}.txt; opt -fast -full" \
-l temp/synth_${1}_${2}.log -o temp/synth_${1}_${2}.v temp/brams_${1}.v

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# 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'