diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libc/asr/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/regress/lib/libc/asr/Makefile b/src/regress/lib/libc/asr/Makefile index ac1d4ed18c..76891ec176 100644 --- a/src/regress/lib/libc/asr/Makefile +++ b/src/regress/lib/libc/asr/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.2 2012/08/07 21:00:31 eric Exp $ | 1 | # $OpenBSD: Makefile,v 1.3 2013/04/01 10:18:28 eric Exp $ |
| 2 | 2 | ||
| 3 | # | 3 | # |
| 4 | # Note on building and running the regress tests: | 4 | # Note on building and running the regress tests: |
| @@ -7,25 +7,25 @@ | |||
| 7 | # against the current libc, and one linked against a libc with the resolver | 7 | # against the current libc, and one linked against a libc with the resolver |
| 8 | # replaced. The idea is to compare the output of all programs in both cases. | 8 | # replaced. The idea is to compare the output of all programs in both cases. |
| 9 | # | 9 | # |
| 10 | # So before building the regression test programs, you need to have the two | 10 | # So before building the regression test programs, you need to have two |
| 11 | # libc.a ready. By default, it is assumed that the asr-enabled libc was just | 11 | # static libc: the system libc.a in /usr/lib/ which is assumed to be built |
| 12 | # built from src but not installed, so the current libc.a is expected to be | 12 | # with asr, and a pre-asr libc.a in the "./lib/" directory (you can build |
| 13 | # found in /usr/lib, and the new one in /usr/obj/lib/libc. If your setting | 13 | # one by commenting out the ".include "${LIBCSRCDIR}/asr/Makefile.inc" |
| 14 | # is different, just set LIBCDIRSTD and LIBCDIRASR accordingly. | 14 | # line from the /usr/src/lib/libc/Makefile.in and rebuild the libc). |
| 15 | # | 15 | # |
| 16 | # When done, run "make && make install". This builds and installs the two sets | 16 | # When done, run "make && make install". This builds and installs the two sets |
| 17 | # of programs in REGRESSDIR. They will run chrooted there to allow testing with | 17 | # of programs in REGRESSDIR. They will run chrooted there to allow testing with |
| 18 | # various /etc environment without messing up the local machine config files. | 18 | # various /etc environment without messing up the local machine config files. |
| 19 | # | 19 | # |
| 20 | # When you are sure everything is in place, run "make regress". This will | 20 | # When you are sure everything is in place, run "make regress". This will |
| 21 | # create two files: $REGRESSDIR/output.log with the output of all run tests, | 21 | # create two files: $REGRESSDIR/output.log with the output of all tests, |
| 22 | # and $REGRESSDIR/regress.log with the diffs for those that "failed". | 22 | # and $REGRESSDIR/regress.log with the diffs for those that "failed". |
| 23 | # | 23 | # |
| 24 | # Note that "install" and "regress" targets need to be run as root. | 24 | # Note that the "install" and "regress" targets need to be run as root. |
| 25 | # | 25 | # |
| 26 | 26 | ||
| 27 | LIBCDIRSTD?= /usr/lib | 27 | LIBCDIRSTD?= ${.CURDIR}/lib |
| 28 | LIBCDIRASR?= /usr/obj/lib/libc | 28 | LIBCDIRASR?= /usr/lib |
| 29 | 29 | ||
| 30 | REGRESSDIR?= /tmp/regress | 30 | REGRESSDIR?= /tmp/regress |
| 31 | REGRESS?= regress.sh | 31 | REGRESS?= regress.sh |
