aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-03-18 17:39:28 +0100
committerGitHub <noreply@github.com>2020-03-18 17:39:28 +0100
commit0cbf10236485fb4468e527225dd869be5f0cb01f (patch)
treeece844ce1f6dd33e61f97dcce2841ac61bbdb90a
parenta2fa1654dcb20960cc0ae03dcad399d7c6b5f80a (diff)
parent644deb708dc8bec9d8f83df80650376f489c15be (diff)
downloadyosys-0cbf10236485fb4468e527225dd869be5f0cb01f.tar.gz
yosys-0cbf10236485fb4468e527225dd869be5f0cb01f.tar.bz2
yosys-0cbf10236485fb4468e527225dd869be5f0cb01f.zip
Merge pull request #1780 from YosysHQ/fix-test-bash
Fix make test on macOS: add bash to brewfile & fix argument order
-rw-r--r--Brewfile1
-rw-r--r--tests/arch/xilinx/tribuf.sh6
2 files changed, 4 insertions, 3 deletions
diff --git a/Brewfile b/Brewfile
index 8465d86f9..2a985f09e 100644
--- a/Brewfile
+++ b/Brewfile
@@ -8,3 +8,4 @@ brew "pkg-config"
brew "python3"
brew "tcl-tk"
brew "xdot"
+brew "bash"
diff --git a/tests/arch/xilinx/tribuf.sh b/tests/arch/xilinx/tribuf.sh
index 636aed12a..bd44395cb 100644
--- a/tests/arch/xilinx/tribuf.sh
+++ b/tests/arch/xilinx/tribuf.sh
@@ -1,5 +1,5 @@
-! ../../../yosys ../common/tribuf.v -qp "synth_xilinx"
-../../../yosys ../common/tribuf.v -qp "synth_xilinx -iopad; \
+! ../../../yosys -qp "synth_xilinx" ../common/tribuf.v
+../../../yosys -qp "synth_xilinx -iopad; \
select -assert-count 2 t:IBUF; \
select -assert-count 1 t:INV; \
-select -assert-count 1 t:OBUFT"
+select -assert-count 1 t:OBUFT" ../common/tribuf.v