Package: qbe / 1.2-3

Metadata

Package Version Patches format
qbe 1.2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Makefile add explicit target to test the x86_64 back.patch | (download)

Makefile | 3 3 + 0 - 0 !
tools/test.sh | 24 24 + 0 - 0 !
2 files changed, 27 insertions(+)

 [patch 1/3] makefile: add explicit target to test the x86_64 backend

When developing on an arm64 machine, it's useful to be able to test the
x86_64 target.

0002 tools test.sh allow running against installed packag.patch | (download)

tools/test.sh | 16 10 + 6 - 0 !
1 file changed, 10 insertions(+), 6 deletions(-)

 [patch 2/3] 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.

0003 tools test.sh test the native architecture without Q.patch | (download)

tools/test.sh | 84 42 + 42 - 0 !
1 file changed, 42 insertions(+), 42 deletions(-)

 [patch 3/3] tools/test.sh: test the native architecture without qemu

While at it, extract most duplicated code across targets into a
function.