Nix/doc/manual/src/contributing
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
..
cli-guideline.md Merge pull request #9478 from tweag/nix-config-check 2023-12-01 10:19:19 -05:00
cxx.md Split out worker protocol template definitions from declarations 2023-06-19 11:45:59 -04:00
documentation.md Merge pull request #9234 from fricklerhandwerk/doc-style-examples 2023-11-02 09:49:38 -04:00
experimental-features.md Single page for experimental feature descriptions 2023-04-09 11:01:23 -04:00
hacking.md Split --disable-tests, fix cross builds 2023-12-18 10:47:50 -05:00
index.md Avoid <name>/<name> in documentation URLs 2023-11-30 09:37:32 -05:00
testing.md Move tests to separate directories, and document 2023-12-01 10:48:58 -05:00