diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-09-05 11:14:25 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-09-05 11:14:25 -0700 |
commit | e214de81b8917745774469e64c1bf0791c263439 (patch) | |
tree | f1bc14350176c7aae022e7d2e7eba2a041144df7 | |
parent | 198728134ef2c8f3fc8d1b489735568dced2c3dc (diff) | |
download | mu-e214de81b8917745774469e64c1bf0791c263439.tar.gz |
2152 - never warn about redefining main in tests
-rw-r--r-- | 020run.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc index 90ed29d8..a194b7ab 100644 --- a/020run.cc +++ b/020run.cc @@ -152,6 +152,7 @@ if (argc > 1) { load_permanently(argv[i]); } transform_all(); + if (Run_tests) Recipe.erase(Recipe_ordinal[string("main")]); } :(before "End Main") |