From d7ff2ce5add4e30e51d8f1858874bd8241252d0e Mon Sep 17 00:00:00 2001 From: Michael Debertol Date: Thu, 26 Aug 2021 11:49:45 +0200 Subject: [PATCH] doc: Add instructions to run GNU tests --- DEVELOPER_INSTRUCTIONS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/DEVELOPER_INSTRUCTIONS.md b/DEVELOPER_INSTRUCTIONS.md index b81903edd..6d96c7737 100644 --- a/DEVELOPER_INSTRUCTIONS.md +++ b/DEVELOPER_INSTRUCTIONS.md @@ -9,6 +9,19 @@ The documentation is updated everyday on this repository: https://github.com/uutils/coreutils-docs +Running GNU tests +----------------- + +- Check out https://github.com/coreutils/coreutils next to your fork as gnu +- Check out https://github.com/coreutils/gnulib next to your fork as gnulib +- Rename the checkout of your fork to uutils + +At the end you should have uutils, gnu and gnulib checked out next to each other. + +- Run `cd uutils && ./util/build-gnu.sh && cd ..` to get everything ready (this may take a while) +- Finally, you can run `tests with bash uutils/util/run-gnu-test.sh `. Instead of `` insert the test you want to run, e.g. `tests/misc/wc-proc`. + + Code Coverage Report Generation ---------------------------------