diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-16 17:32:13 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-16 17:32:13 +0200 |
commit | c6241e6899431f767bf2e8b0ec8a7dbb0c7a7150 (patch) | |
tree | 53aaf083275451c0a4db513b80dab6e0e7490094 /hurd | |
parent | 239bc9c12665fcf8ec20d0b949c77dc3b9675d8c (diff) |
Document how to run a single glibc testsuite
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/debugging/glibc.mdwn | 14 | ||||
-rw-r--r-- | hurd/glibc.mdwn | 2 |
2 files changed, 9 insertions, 7 deletions
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 ..=../ |