aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcc.c b/tcc.c
index 6e8cdba..b502df1 100644
--- a/tcc.c
+++ b/tcc.c
@@ -282,6 +282,8 @@ redo:
n = s->nb_files;
if (n == 0)
tcc_error("no input files\n");
+ if (s->do_test)
+ tcc_tool_test(s, argc, argv); /* maybe never returns */
if (s->output_type == TCC_OUTPUT_PREPROCESS) {
if (!s->outfile) {