Commit 9df14924 authored by Ting-Wei Lan's avatar Ting-Wei Lan Committed by Georges Basile Stavracas Neto

tests: Don't hard-code the path to python

Python isn't always installed in /usr/bin. If we hard-code the path,
these tests will fail on *BSD because they install python in different
prefixes such as /usr/local and /usr/pkg.
parent 510dc167
Pipeline #24719 passed with stages
in 14 minutes and 48 seconds
#!/usr/bin/python3
#!/usr/bin/env python3
# Copyright © 2018 Red Hat, Inc
# 2018 Endless Mobile, Inc
#
......@@ -51,4 +51,4 @@ class TimezoneGfxTestCase(X11SessionTestCase, GTest):
if __name__ == '__main__':
_test = unittest.TextTestRunner(stream=sys.stdout, verbosity=2)
unittest.main(testRunner=_test)
\ No newline at end of file
unittest.main(testRunner=_test)
#!/usr/bin/python3
#!/usr/bin/env python3
# Copyright © 2018 Red Hat, Inc
#
# This program is free software; you can redistribute it and/or modify
......
#!/usr/bin/python3
#!/usr/bin/env python3
# Copyright © 2018 Red Hat, Inc
#
# This program is free software; you can redistribute it and/or modify
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment