summaryrefslogtreecommitdiff
path: root/libdeno/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libdeno/test.cc')
-rw-r--r--libdeno/test.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libdeno/test.cc b/libdeno/test.cc
new file mode 100644
index 000000000..9638dba60
--- /dev/null
+++ b/libdeno/test.cc
@@ -0,0 +1,10 @@
+// Copyright 2018 the Deno authors. All rights reserved. MIT license.
+#include "deno.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+int main(int argc, char** argv) {
+ testing::InitGoogleTest(&argc, argv);
+ deno_init();
+ deno_set_flags(&argc, argv);
+ return RUN_ALL_TESTS();
+}