Added a post message, still nowhere near clean enough
This commit is contained in:
parent
0fa67dde2d
commit
4d45da4867
|
|
@ -52,7 +52,7 @@ class SpideyTest(test_template.TestTemplate):
|
|||
if lines > 1:
|
||||
self.is_infected = True
|
||||
|
||||
if self.is_infected:
|
||||
if self.is_infected: # TODO: set a status here, explaining and why the test failed, the scary part will be handled by the main program
|
||||
print("\n!!! WARNING !!!\n"
|
||||
"Unless you've installed a plugin you really trust, chances are your discord install "
|
||||
"is corrupted. We suggest uninstalling discord and deleting all its files before reinstalling.\n"
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ class TestRunner:
|
|||
if self.args.launch:
|
||||
while True:
|
||||
if POST_RUN_ALLOWED:
|
||||
print("Running post test runner")
|
||||
print("Running post test runner...")
|
||||
return 0
|
||||
time.sleep(0.5)
|
||||
return 0
|
||||
|
|
@ -199,5 +199,6 @@ def run_check(args, agnpath):
|
|||
while tr.get_exit_code() == -1:
|
||||
print(tr.get_status())
|
||||
time.sleep(0.5)
|
||||
|
||||
print("The test sequence is now finished")
|
||||
print(tr.get_status())
|
||||
sys.exit(tr.get_exit_code())
|
||||
|
|
|
|||
Reference in New Issue