diff options
author | jmmv <jmmv@FreeBSD.org> | 2014-03-16 08:04:06 +0000 |
---|---|---|
committer | jmmv <jmmv@FreeBSD.org> | 2014-03-16 08:04:06 +0000 |
commit | 41a8d8c29552ddd9098cfb09a71927f503a28371 (patch) | |
tree | a434fba265da51ef79b1cfc4461e1080dbe53e90 /usr.bin/tr/Makefile | |
parent | b2e51e38a88412c17ce1160c247a6d673c0b2147 (diff) | |
download | FreeBSD-src-41a8d8c29552ddd9098cfb09a71927f503a28371.zip FreeBSD-src-41a8d8c29552ddd9098cfb09a71927f503a28371.tar.gz |
Migrate most of tools/regression/usr.bin/ to the new tests layout.
I'm starting with the easy cases. The leftovers need to be looked at a
bit more closely.
Note that this change _does_ modify the code of the old tests. This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.
Also note that at least one test is known to be broken here. Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that. Will have to be
fixed separately.
Diffstat (limited to 'usr.bin/tr/Makefile')
-rw-r--r-- | usr.bin/tr/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/tr/Makefile b/usr.bin/tr/Makefile index 00bdd8d..7c65dae 100644 --- a/usr.bin/tr/Makefile +++ b/usr.bin/tr/Makefile @@ -1,7 +1,13 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= tr SRCS= cmap.c cset.c str.c tr.c +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + .include <bsd.prog.mk> |