Let's document how to use the environment variable RUNTESTFLAGS
for selecting the tests that should be executed.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Let's document how to run all the test suites in order to increase the
number of people that will execute the tests.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Makefile.in has support for running the regression test suite of
Binutils, GCC and others. Let's add support for running glibc tests.
To run the tests the following command can be used:
make check-glibc-linux
Tested with linux/rv64.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
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>
A recent commit bumped the GCC version to 12.2,
but adjusting the tracking branch in .gitmodules was forgotten.
Let's fix this and set the tracking branch to gcc-12
(note, that there are no release branches for minor version releases).
Reported-by: Tommy Murphy <tommy_murphy@hotmail.com>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
We should not encourage people to call "sudo make".
Let's drop that recommendation in case of permission errors.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
GDB still defaults to 10.1 from the (already archived)
riscv-binutils-gdb repo. Let's bump the version to 12.1
and use the upstream git repo instead.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
dejagnu still defaults to 1.6 from the (already archived)
riscv-dejagnu repo. Let's bump the version to 1.6.3
and use the upstream git repo instead.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
I'm trying to clean up some of my test scripts, and one issue is that
I've got two QEMU builds: one for user-mode emulation and one for
system-mode emulation. This adds an autoconf flag that allows me to
avoid the duplication.
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
This lets users select whether or not to build libsanitizer, which
currently does not support rv32 and thus can't be enabled by default.
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>