1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

script/compare_cc_results: print usage on too few args

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Douglas Bagnall
2019-06-27 16:57:20 +12:00
committed by Andrew Bartlett
parent 77d69ab820
commit 96148436b7
2 changed files with 9 additions and 4 deletions

View File

@@ -1,9 +1,11 @@
#!/usr/bin/env python3
"""Compare the results of native and cross-compiled configure tests
#
# Compare the results of native and cross-compiled configure tests
#
The compared files are called "default.cache.py" and are generated in
bin/c4che/.
USAGE: compare_cc_results.py CONFIG_1 CONFIG_2 [CONFIG_3 [CONFIG_4 ...]]
"""
from __future__ import print_function
import sys
import difflib
@@ -19,6 +21,10 @@ exceptions = [
'LIBRESOLV_WRAPPER_SO_PATH',
]
if len(sys.argv) < 3:
print(__doc__)
sys.exit(1)
base_lines = list()
base_fname = ''