3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-19 09:40:21 +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 -ex
../../yosys -q -o async_syn.v -r uut -p 'synth; rename uut syn' async.v
../../yosys -q -o async_prp.v -r uut -p 'prep; rename uut prp' async.v

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
trap 'echo "ERROR in chparam.sh" >&2; exit 1' ERR

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
fail() {
echo "$1" >&2

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
../../yosys -q -p 'read_verilog -formal smtlib2_module.v; prep; write_smt2 smtlib2_module.smt2'
sed 's/; SMT-LIBv2 description generated by Yosys .*/; SMT-LIBv2 description generated by Yosys $VERSION/;s/ *$//' smtlib2_module.smt2 > smtlib2_module-filtered.smt2

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
trap 'echo "ERROR in sv_implicit_ports.sh" >&2; exit 1' ERR

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
trap 'echo "ERROR in svalways.sh" >&2; exit 1' ERR