Skip to content

Commit 3dba507

Browse files
committed
Use 2 spaces instead of tab for indent in shell scripts
1 parent e61847a commit 3dba507

23 files changed

Lines changed: 54 additions & 54 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
../../../hbs run core::target 2> output.txt
33
if [[ $? == 1 ]]; then
4-
exit 0
4+
exit 0
55
else
6-
exit 1
6+
exit 1
77
fi
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
../../../hbs run core::target 2> output.txt
33
if [[ $? == 1 ]]; then
4-
exit 0
4+
exit 0
55
else
6-
exit 1
6+
exit 1
77
fi

tests/AddFile/tool-not-set/cmd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
echo "core::target: hbs::AddFile: cannot add file $HBS_TESTS_DIR/AddFile/tool-not-set/abc.vhd, hbs::Tool not set" > golden.txt
33
../../../hbs run core::target 2> output.txt
44
if [[ $? == 1 ]]; then
5-
exit 0
5+
exit 0
66
else
7-
exit 1
7+
exit 1
88
fi
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
../../../hbs run my-core::my-target 2> output.txt
33
if [[ $? == 1 ]]; then
4-
exit 0
4+
exit 0
55
else
6-
exit 1
6+
exit 1
77
fi

tests/SetLib/name-has-utf/cmd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
../../../hbs run lib::core::target 2> output.txt
33
if [[ $? == 1 ]]; then
4-
exit 0
4+
exit 0
55
else
6-
exit 1
6+
exit 1
77
fi
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
../../../hbs run lib::core::target 2> output.txt
33
if [[ $? == 1 ]]; then
4-
exit 0
4+
exit 0
55
else
6-
exit 1
6+
exit 1
77
fi

tests/SetStd/ghdl-invalid-std/cmd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
echo "core::target: hbs::ghdl::addVhdlFile: $HBS_TESTS_DIR/SetStd/ghdl-invalid-std/abc.vhd: invalid VHDL standard '2005', valid standards are: '1987', '1993', '2000', '2002' '2008', '2019'" > golden.txt
33
../../../hbs run core::target 2> output.txt
44
if [[ $? == 1 ]]; then
5-
exit 0
5+
exit 0
66
else
7-
exit 1
7+
exit 1
88
fi

tests/SetStd/ghdl-unsupported-std/cmd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
echo "core::target: hbs::ghdl::addVhdlFile: $HBS_TESTS_DIR/SetStd/ghdl-unsupported-std/abc.vhd: ghdl doesn't support VHDL standard '2019'" > golden.txt
33
../../../hbs run core::target 2> output.txt
44
if [[ $? == 1 ]]; then
5-
exit 0
5+
exit 0
66
else
7-
exit 1
7+
exit 1
88
fi

tests/SetStd/gowin-invalid-verilog-std/cmd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export HBS_DRY_RUN=1
33
echo "core::target: hbs::gowin::addVerilogFile: $HBS_TESTS_DIR/SetStd/gowin-invalid-verilog-std/abc.v: invalid Verilog/SystemVerilog standard '2008', valid standards are: '1995', '2001', '2005', '2009' '2012', '2017', '2023'" > golden.txt
44
../../../hbs dry-run core::target 1>/dev/null 2> output.txt
55
if [[ $? == 1 ]]; then
6-
exit 0
6+
exit 0
77
else
8-
exit 1
8+
exit 1
99
fi

tests/SetStd/gowin-invalid-vhdl-std/cmd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export HBS_DRY_RUN=1
33
echo "core::target: hbs::gowin::addVhdlFile: $HBS_TESTS_DIR/SetStd/gowin-invalid-vhdl-std/abc.vhd: invalid VHDL standard '2005', valid standards are: '1987', '1993', '2000', '2002' '2008', '2019'" > golden.txt
44
../../../hbs dry-run core::target 1>/dev/null 2> output.txt
55
if [[ $? == 1 ]]; then
6-
exit 0
6+
exit 0
77
else
8-
exit 1
8+
exit 1
99
fi

0 commit comments

Comments
 (0)