diff options
author | Jim Wilson <jimw@sifive.com> | 2018-08-27 18:25:43 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-08-27 18:25:43 -0700 |
commit | 0395ad94fda0beeba74e98319f807f4fc9a19c94 (patch) | |
tree | 9139cde00c8b508bef6f3d37c9f5c92547a490e5 /Makefile.in | |
parent | 65a3d4d57e9a7862785b127bd28255391b685fcf (diff) | |
download | riscv-gnu-toolchain-0395ad94fda0beeba74e98319f807f4fc9a19c94.zip riscv-gnu-toolchain-0395ad94fda0beeba74e98319f807f4fc9a19c94.tar.gz riscv-gnu-toolchain-0395ad94fda0beeba74e98319f807f4fc9a19c94.tar.bz2 |
Use test instead of [[ for compatibility with Ubuntu dash.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index e7f483e..e590d05 100644 --- a/Makefile.in +++ b/Makefile.in @@ -634,18 +634,18 @@ stamps/check-gdb-linux: stamps/build-gcc-linux-stage2 stamps/build-gdb-linux sta report-gcc-newlib: stamps/check-gcc-newlib stat $(patsubst %,$(srcdir)/test/gcc-newlib/%.log,$(NEWLIB_MULTILIB_NAMES)) || exit 1 if find build-gcc-newlib-stage2/gcc/testsuite/ -iname '*.sum' | xargs grep ^FAIL | sort | grep -F -v $(patsubst %,--file=$(srcdir)/test/gcc-newlib/%.log,$(NEWLIB_MULTILIB_NAMES)); then false; else true; fi - if [[ "$$(find build-gcc-newlib-stage2/gcc/testsuite/ -iname '*.sum' | xargs cat | wc -l)" -lt 100 ]]; then false; else true; fi + if test "$$(find build-gcc-newlib-stage2/gcc/testsuite/ -iname '*.sum' | xargs cat | wc -l)" -lt 100; then false; else true; fi report-gcc-newlib-nano: stamps/check-gcc-newlib-nano stat $(patsubst %,$(srcdir)/test/gcc-newlib/%.log,$(NEWLIB_MULTILIB_NAMES)) || exit 1 if find build-gcc-newlib-stage2/gcc/testsuite/ -iname '*.sum' | xargs grep ^FAIL | sort | grep -F -v $(patsubst %,--file=$(srcdir)/test/gcc-newlib/%.log,$(NEWLIB_MULTILIB_NAMES)); then false; else true; fi - if [[ "$$(find build-gcc-newlib-stage2/gcc/testsuite/ -iname '*.sum' | xargs cat | wc -l)" -lt 100 ]]; then false; else true; fi + if test "$$(find build-gcc-newlib-stage2/gcc/testsuite/ -iname '*.sum' | xargs cat | wc -l)" -lt 100; then false; else true; fi .PHONY: report-gcc-linux report-gcc-linux: stamps/check-gcc-linux stat $(patsubst %,$(srcdir)/test/gcc-linux/%.log,$(GLIBC_MULTILIB_NAMES)) || exit 1 if find build-gcc-linux-stage2/gcc/testsuite/ -iname '*.sum' | xargs grep ^FAIL | sort | grep -F -v $(patsubst %,--file=$(srcdir)/test/gcc-linux/%.log,$(GLIBC_MULTILIB_NAMES)); then false; else true; fi - if [[ "$$(find build-gcc-linux-stage2/gcc/testsuite/ -iname '*.sum' | xargs cat | wc -l)" -lt 100 ]]; then false; else true; fi + if test "$$(find build-gcc-linux-stage2/gcc/testsuite/ -iname '*.sum' | xargs cat | wc -l)" -lt 100; then false; else true; fi .PHONY: report-dhrystone-newlib report-dhrystone-newlib-nano report-dhrystone-newlib: $(patsubst %,stamps/check-dhrystone-newlib-%,$(NEWLIB_MULTILIB_NAMES)) |