diff options
author | skullY <skullydazed@gmail.com> | 2019-08-21 23:40:24 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-09-07 07:58:41 -0700 |
commit | 5b7a5b2a7629fbb667d23a55836dce3c6c46a203 (patch) | |
tree | b153a030844887422464c6c4f4833242b34a9314 /bin | |
parent | 4d339b7b5d1ecc2320080798d7e07e2d43675578 (diff) | |
download | qmk_firmware-5b7a5b2a7629fbb667d23a55836dce3c6c46a203.tar.gz |
Setup a python test framework
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/qmk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -94,4 +94,10 @@ else: exit(1) if __name__ == '__main__': - milc.cli() + return_code = milc.cli() + if return_code is False: + exit(1) + elif return_code is not True and isinstance(return_code, int) and return_code < 256: + exit(return_code) + else: + exit(0) |