aboutsummaryrefslogtreecommitdiffstats
path: root/bin/qmk
diff options
context:
space:
mode:
authorGravatar skullY <skullydazed@gmail.com>2019-08-21 23:40:24 -0700
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2019-09-07 07:58:41 -0700
commit5b7a5b2a7629fbb667d23a55836dce3c6c46a203 (patch)
treeb153a030844887422464c6c4f4833242b34a9314 /bin/qmk
parent4d339b7b5d1ecc2320080798d7e07e2d43675578 (diff)
downloadqmk_firmware-5b7a5b2a7629fbb667d23a55836dce3c6c46a203.tar.gz
Setup a python test framework
Diffstat (limited to 'bin/qmk')
-rwxr-xr-xbin/qmk8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/qmk b/bin/qmk
index 3c00a675e..1aa16e17d 100755
--- a/bin/qmk
+++ b/bin/qmk
@@ -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)