diff options
-rwxr-xr-x | bitbake/bin/bitbake-selftest | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-selftest b/bitbake/bin/bitbake-selftest index 1e615ccf7d..25905d7c10 100755 --- a/bitbake/bin/bitbake-selftest +++ b/bitbake/bin/bitbake-selftest | |||
@@ -37,5 +37,17 @@ for t in tests: | |||
37 | __import__(t) | 37 | __import__(t) |
38 | 38 | ||
39 | 39 | ||
40 | ENV_HELP = """\ | ||
41 | Environment variables: | ||
42 | BB_SKIP_NETTESTS set to 'yes' in order to skip tests using network | ||
43 | connection | ||
44 | """ | ||
45 | |||
46 | class main(unittest.main): | ||
47 | def _print_help(self, *args, **kwargs): | ||
48 | super(main, self)._print_help(*args, **kwargs) | ||
49 | print(ENV_HELP) | ||
50 | |||
51 | |||
40 | if __name__ == '__main__': | 52 | if __name__ == '__main__': |
41 | unittest.main(defaultTest=tests) | 53 | main(defaultTest=tests) |