forked from cory/tildefriends
Starting to move the tests to C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3652 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#include "ssb.h"
|
||||
#include "task.h"
|
||||
#include "taskstub.h"
|
||||
#include "tests.h"
|
||||
|
||||
#include <quickjs-libc.h>
|
||||
#include <quickjs.h>
|
||||
@ -137,7 +138,7 @@ static int _tf_command_test(const char* file, int argc, char* argv[])
|
||||
return 2;
|
||||
}
|
||||
|
||||
tf_ssb_test();
|
||||
tf_tests(file);
|
||||
return 0;
|
||||
xopt_help:
|
||||
if (extras) {
|
||||
@ -434,6 +435,7 @@ static int _tf_command_usage(const char* file, int argc, char* argv[])
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
prctl(PR_SET_PDEATHSIG, SIGKILL);
|
||||
uv_setup_args(argc, argv);
|
||||
tf_taskstub_startup();
|
||||
|
||||
|
Reference in New Issue
Block a user