Nix/mk
John Ericson 7feabf7d44 Split --disable-tests, fix cross builds
It might seem obnoxious to have yet more configure flags, but I found
controlling both the unit and functional tests with one flag was quite
confusing because they are so different:

- unit tests depending on building, functional tests don't (e.g. when
  we test already-built Nix)

- unit tests can be installed, functional tests cannot

- unit tests neeed extra libraries (GTest, RapidCheck), functional
  tests need extra executables (jq).

- unit tests are run by `make check`, functional tests are run by `make
  installcheck`

Really on a technical level, they seem wholly independent. Only on a
human level ("they are both are tests") do they have anything in common.

I had messed up the logic in cross builds because of this. Now I
split the flag in two (and cleaned up a few other inconsistencies), and
the logic fixed itself.

Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2023-12-18 10:47:50 -05:00
..
build-dir.mk Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
clean.mk Add 'mk/' from commit '1eff3ad37fdb9dcf9f8528fdacea0ebf0e79d545' 2014-02-01 14:38:28 +01:00
common-test.sh Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
cxx-big-literal.mk Dedup some markdown -> C++ big literal stuff in build system 2023-05-15 10:38:11 -04:00
debug-test.sh Refactor bash test build system a bit 2023-11-10 11:02:37 -05:00
functions.mk Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
install-dirs.mk Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
install.mk Sync with make-rules repo 2014-04-03 17:37:14 +02:00
lib.mk Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
libraries.mk fix: build aarch64-darwin 2023-03-18 17:53:45 -04:00
patterns.mk Enable -Werror=switch-enum 2023-04-03 18:45:20 +02:00
precompiled-headers.mk mk/precompiled-headers.mk: Remove special handling for clang 2020-10-06 13:27:09 +02:00
programs.mk Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00
run-test.sh Refactor bash test build system a bit 2023-11-10 11:02:37 -05:00
templates.mk Use buildprefix in a few more places 2023-11-29 19:49:07 -05:00
tests.mk Refactor bash test build system a bit 2023-11-10 11:02:37 -05:00
tracing.mk Revert "Add support for building JARs from Java sources" 2021-02-26 23:06:58 +00:00