aboutsummaryrefslogtreecommitdiff
path: root/src/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/test.cc b/src/test.cc
index fb7900ca9..b30a5b0e9 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -191,15 +191,10 @@ void runTests()
}
-int main(int argc, char * * argv)
+void run(Strings args)
{
- ATerm bottomOfStack;
- ATinit(argc, argv, &bottomOfStack);
-
- try {
- runTests();
- } catch (exception & e) {
- cerr << "error: " << e.what() << endl;
- return 1;
- }
+ runTests();
}
+
+
+string programId = "test";