renamed init_test() to test_init() and defined
This commit is contained in:
parent
3c0ab0ecd7
commit
2a24b1586f
6
mkfile
6
mkfile
|
@ -3,11 +3,11 @@
|
||||||
qfmt: main.$O lib.$O
|
qfmt: main.$O lib.$O
|
||||||
$LD $LDFLAGS -o qfmt main.$O lib.$O
|
$LD $LDFLAGS -o qfmt main.$O lib.$O
|
||||||
|
|
||||||
$O.qfmt: test.$O lib.$O
|
$O.qfmt: test.$O test/init.$O lib.$O
|
||||||
$LD $LDFLAGS -o $O.qfmt test.$O lib.$O
|
$LD $LDFLAGS -o $O.qfmt test.$O test/init.$O lib.$O
|
||||||
|
|
||||||
TEST=qfmt
|
TEST=qfmt
|
||||||
|
|
||||||
</sys/src/cmd/mktest
|
</sys/src/cmd/mktest
|
||||||
|
|
||||||
#jl
|
#jl
|
2
test.c
2
test.c
|
@ -6,7 +6,7 @@
|
||||||
void
|
void
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
init_test();
|
test_init();
|
||||||
exits(0);
|
exits(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#include <u.h>
|
||||||
|
#include <libc.h>
|
||||||
|
|
||||||
|
void
|
||||||
|
test_init()
|
||||||
|
{
|
||||||
|
print("testing: init()");
|
||||||
|
print("tests not yet defined");
|
||||||
|
}
|
||||||
|
|
||||||
|
//jl
|
|
@ -1,3 +1,3 @@
|
||||||
extern void init_test();
|
extern void test_init();
|
||||||
|
|
||||||
//jl
|
//jl
|
||||||
|
|
Loading…
Reference in New Issue
Block a user