created tests
This commit is contained in:
parent
b0a69bfc49
commit
f2da510a6e
10
mkfile
10
mkfile
@ -16,6 +16,16 @@
|
|||||||
|
|
||||||
</$objtype/mkfile
|
</$objtype/mkfile
|
||||||
|
|
||||||
|
cleantest:V:
|
||||||
|
cd test && mk $MKFLAGS clean
|
||||||
|
|
||||||
|
nuketest:V:
|
||||||
|
cd test && mk $MKFLAGS clean
|
||||||
|
|
||||||
|
clean:V: cleantest
|
||||||
|
|
||||||
|
nuke:V: nuketest
|
||||||
|
|
||||||
LIB=9unit.a
|
LIB=9unit.a
|
||||||
OFILES=9unit.$O
|
OFILES=9unit.$O
|
||||||
HFILES=9unit.h
|
HFILES=9unit.h
|
||||||
|
31
test/main.c
Normal file
31
test/main.c
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
9unit
|
||||||
|
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or (at
|
||||||
|
your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but
|
||||||
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <u.h>
|
||||||
|
#include <libc.h>
|
||||||
|
|
||||||
|
void
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
print("Tests not yet implemented.\n");
|
||||||
|
exits(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
//jl
|
25
test/mkfile
Normal file
25
test/mkfile
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# 9unit
|
||||||
|
# Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or (at
|
||||||
|
# your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful, but
|
||||||
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
</$objtype/mkfile
|
||||||
|
|
||||||
|
HFILES=../9unit.h
|
||||||
|
LIB=../9unit.a
|
||||||
|
TEST=main
|
||||||
|
|
||||||
|
</sys/src/cmd/mktest
|
||||||
|
|
||||||
|
#jl
|
Loading…
x
Reference in New Issue
Block a user