From c6241e6899431f767bf2e8b0ec8a7dbb0c7a7150 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 16 Oct 2022 17:32:13 +0200 Subject: Document how to run a single glibc testsuite --- hurd/debugging/glibc.mdwn | 14 ++++++++------ hurd/glibc.mdwn | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'hurd') diff --git a/hurd/debugging/glibc.mdwn b/hurd/debugging/glibc.mdwn index a409f392..1b7e6ab1 100644 --- a/hurd/debugging/glibc.mdwn +++ b/hurd/debugging/glibc.mdwn @@ -44,24 +44,26 @@ testsuite, use: To save even more build, stop the build after configure has run, and then you can restart the build of only libc.so and libc.a with: - cd build-tree/hurd-i386-libc - make lib + make -C build-tree/hurd-i386-libc lib or of only libc.so with: - make objdir=$PWD/build-tree/hurd-i386-libc $PWD/build-tree/hurd-i386-libc/libc.so + make -C build-tree/hurd-i386-libc objdir=$PWD/build-tree/hurd-i386-libc $PWD/build-tree/hurd-i386-libc/libc.so or of the whole tree with: - cd build-tree/hurd-i386-libc - make + make -C build-tree/hurd-i386-libc or of just one subdir with for instance: - make subdir=libpthread -C libpthread ..=../ objdir=$PWD/build-tree/hurd-i386-libc + make -C htl subdir=htl ..=../ objdir=$PWD/build-tree/hurd-i386-libc (note that most subdirs need libc.so built) +Similarly, you can run the testsuite of a single directory the same way: + + make check -C htl subdir=htl ..=../ objdir=$PWD/build-tree/hurd-i386-libc + --- In some cases, printing to stdout/stderr is problematic. One can use a kernel diff --git a/hurd/glibc.mdwn b/hurd/glibc.mdwn index 29a33b7b..6c7080c2 100644 --- a/hurd/glibc.mdwn +++ b/hurd/glibc.mdwn @@ -57,4 +57,4 @@ One can run tests with the new libc by hand: One can build by hand some target with e.g.: - $ make -C ../htl subdir=htl objdir=$PWD ..=../ $PWD/htl/libpthread.so + $ make $PWD/htl/libpthread.so -C ../htl subdir=htl objdir=$PWD ..=../ -- cgit v1.2.3