These commands are just there as hints to debug possible problems.
In order to support autobuild.py on non-linux platforms we should
just ignore errors here.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Apr 2 07:36:07 UTC 2020 on sn-devel-184
'cc --version',
'df -m .',
'df -m %s' % testbase]:
- out = run_cmd(cmd, output=True, checkfail=False)
+ try:
+ out = run_cmd(cmd, output=True, checkfail=False)
+ except subprocess.CalledProcessError as e:
+ out = "<failed: %s>" % str(e)
print('### %s' % cmd, file=f)
print(out, file=f)
print(file=f)