mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 09:21:42 +03:00
test: renames nock-tests to meme-tests
This commit is contained in:
parent
7870024df9
commit
1ac2264a49
@ -5,10 +5,7 @@
|
|||||||
static void
|
static void
|
||||||
_setup(void)
|
_setup(void)
|
||||||
{
|
{
|
||||||
// XX at 1<<24, this succeeds on mac, but bail:exit's on linux.
|
u3m_init(1 << 24);
|
||||||
// investigate possible u3n_prog corruption
|
|
||||||
//
|
|
||||||
u3m_init(1 << 25);
|
|
||||||
u3m_pave(c3y);
|
u3m_pave(c3y);
|
||||||
u3e_init();
|
u3e_init();
|
||||||
}
|
}
|
||||||
@ -53,7 +50,7 @@ _test_nock_meme(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static c3_i
|
static c3_i
|
||||||
_test_nock(void)
|
_test_meme(void)
|
||||||
{
|
{
|
||||||
c3_i ret_i = 1;
|
c3_i ret_i = 1;
|
||||||
|
|
||||||
@ -72,8 +69,8 @@ main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
_setup();
|
_setup();
|
||||||
|
|
||||||
if ( !_test_nock() ) {
|
if ( !_test_meme() ) {
|
||||||
fprintf(stderr, "test nock: failed\r\n");
|
fprintf(stderr, "test meme: failed\r\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,6 +78,6 @@ main(int argc, char* argv[])
|
|||||||
//
|
//
|
||||||
u3m_grab(u3_none);
|
u3m_grab(u3_none);
|
||||||
|
|
||||||
fprintf(stderr, "test nock: ok\r\n");
|
fprintf(stderr, "test meme: ok\r\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user