1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-04 08:37:28 +03:00
mold/test
Rui Ueyama e6d4154688 [ELF] Generalize tests
With this change, you can now cross compile test cases and run
them on qemu-user. Here is an example to run our test suits in
an emulated ARM32 environment.

$ CC=arm-linux-gnueabihf-gcc \
  CXX=arm-linux-gnueabihf-g++ \
  GCC=arm-linux-gnueabihf-gcc \
  GXX=arm-linux-gnueabihf-g++ \
  OBJDUMP=arm-linux-gnueabihf-objdump \
  MACHINE=arm \
  QEMU='qemu-arm -L /usr/arm-linux-gnueabihf' \
  make -j16 test
2022-04-02 16:53:41 +08:00
..
elf [ELF] Generalize tests 2022-04-02 16:53:41 +08:00
macho [ELF] Generalize tests 2022-04-02 16:53:41 +08:00
gentoo-test.sh Fix Gentoo build script as build-static.sh is gone 2022-02-19 21:57:36 +09:00
Makefile.darwin [Mach-O] Make make test to work on macOS 2021-09-28 18:47:24 +09:00
Makefile.linux [Mach-O] Make make test to work on macOS 2021-09-28 18:47:24 +09:00