qbe/tools
Antonio Terceiro f7ab20680b tools/test.sh: allow running against installed package
If $bin is set in the environment, use it instead of using `qbe` from
the source tree. The same for $binref. This supports the following use
cases:

- I have a qbe package installed, and I want to test my local changes
  with the installed packages as a reference:

  $ binref=/usr/bin/qbe ./tools/test.sh all

- I want to test the installed qbe against new tests that I have
  written, to reproduce a bug:

  $ bin=/usr/bin/qbe ./tools/test.sh test/newtest.ssa

In Debian, we also run tests against the installed package when
dependencies change, etc. We will also run on several architectures
where the necessary cross compilers might not be available. So make
tests that cannot be run because of a missing compiler exit with 77,
signaling to Debian's autopkgtest that the test is skipped.
2025-03-15 14:43:00 +01:00
..
mgen mgen: match automatons and C generation 2024-04-09 21:45:42 +02:00
abi8.py new abi stress test 2022-03-10 16:01:50 +01:00
abifuzz.sh Makefile: POSIXify 2022-06-14 13:58:01 +02:00
callgen.ml get more entropy in callgen.ml 2016-03-29 10:28:21 -04:00
cra.sh Makefile: POSIXify 2022-06-14 13:58:01 +02:00
lexh.c add common linkage for data 2024-04-12 11:33:58 +02:00
log2.c qbe has its own magic 2024-06-17 13:17:39 +02:00
pmov.c Rearrange the fields in Ins so the bit-fields get packed together 2019-03-14 10:12:55 +01:00
test.sh tools/test.sh: allow running against installed package 2025-03-15 14:43:00 +01:00
vatest.py regenerate test/vararg2.ssa 2022-08-31 17:16:29 +02:00