aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2022-09-30 22:22:44 +0200
committerChristoph Müllner <christoph.muellner@vrull.eu>2022-10-10 09:56:49 +0200
commitad4317504b97ac619ea62a2cc981314a188775bf (patch)
treee88a76cb98cef960d1aacf4dbed314e795338b60
parentc63d1b66120f860e3f6b16019c77d38b918b44ec (diff)
downloadriscv-gnu-toolchain-ad4317504b97ac619ea62a2cc981314a188775bf.zip
riscv-gnu-toolchain-ad4317504b97ac619ea62a2cc981314a188775bf.tar.gz
riscv-gnu-toolchain-ad4317504b97ac619ea62a2cc981314a188775bf.tar.bz2
Makefile.in: Allow to pass additional test flags
This allows to specify the test cases to be run. For example the following command can be used to restrict the testcases that will be executed to zb*.c and sm*.c from the directory `gcc/testsuite/gcc.target/riscv/` (which includes the file `riscv.exp`): RUNTESTFLAGS="riscv.exp=zb*.c\ sm*.c" make report Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 7a6f409..0894f67 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -867,17 +867,17 @@ stamps/build-dejagnu: $(srcdir)/dejagnu $(srcdir)/dejagnu/.git
date > $@
stamps/check-gcc-newlib: stamps/build-gcc-newlib-stage2 $(SIM_STAMP) stamps/build-dejagnu
- $(SIM_PREPARE) $(MAKE) -C build-gcc-newlib-stage2 check-gcc "RUNTESTFLAGS=--target_board='$(NEWLIB_TARGET_BOARDS)'"
+ $(SIM_PREPARE) $(MAKE) -C build-gcc-newlib-stage2 check-gcc "RUNTESTFLAGS=$(RUNTESTFLAGS) --target_board='$(NEWLIB_TARGET_BOARDS)'"
mkdir -p $(dir $@)
date > $@
stamps/check-gcc-newlib-nano: stamps/build-gcc-newlib-stage2 $(SIM_STAMP) stamps/build-dejagnu
- $(SIM_PREPARE) $(MAKE) -C build-gcc-newlib-stage2 check-gcc "RUNTESTFLAGS=--target_board='$(NEWLIB_NANO_TARGET_BOARDS)'"
+ $(SIM_PREPARE) $(MAKE) -C build-gcc-newlib-stage2 check-gcc "RUNTESTFLAGS=$(RUNTESTFLAGS) --target_board='$(NEWLIB_NANO_TARGET_BOARDS)'"
mkdir -p $(dir $@)
date > $@
stamps/check-gcc-linux: stamps/build-gcc-linux-stage2 $(SIM_STAMP) stamps/build-dejagnu
- $(SIM_PREPARE) $(MAKE) -C build-gcc-linux-stage2 check-gcc "RUNTESTFLAGS=--target_board='$(GLIBC_TARGET_BOARDS)'"
+ $(SIM_PREPARE) $(MAKE) -C build-gcc-linux-stage2 check-gcc "RUNTESTFLAGS=$(RUNTESTFLAGS) --target_board='$(GLIBC_TARGET_BOARDS)'"
mkdir -p $(dir $@)
date > $@