summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/asr
diff options
context:
space:
mode:
authoreric <>2013-04-01 10:18:28 +0000
committereric <>2013-04-01 10:18:28 +0000
commitcbaf45a7b947271ba7389d6904f2233e1d5e89e8 (patch)
tree6fea8fb2bdaecb8c21d8fbd7ac8d37f6dade35ba /src/regress/lib/libc/asr
parent500f2b286664d1321ffa822cb938f9deadaa9cc9 (diff)
downloadopenbsd-cbaf45a7b947271ba7389d6904f2233e1d5e89e8.tar.gz
openbsd-cbaf45a7b947271ba7389d6904f2233e1d5e89e8.tar.bz2
openbsd-cbaf45a7b947271ba7389d6904f2233e1d5e89e8.zip
tweak makefile now that asr is built by default.
Diffstat (limited to 'src/regress/lib/libc/asr')
-rw-r--r--src/regress/lib/libc/asr/Makefile20
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
27LIBCDIRSTD?= /usr/lib 27LIBCDIRSTD?= ${.CURDIR}/lib
28LIBCDIRASR?= /usr/obj/lib/libc 28LIBCDIRASR?= /usr/lib
29 29
30REGRESSDIR?= /tmp/regress 30REGRESSDIR?= /tmp/regress
31REGRESS?= regress.sh 31REGRESS?= regress.sh