summaryrefslogtreecommitdiff
path: root/script/compare_cc_results.py
diff options
context:
space:
mode:
Diffstat (limited to 'script/compare_cc_results.py')
-rwxr-xr-xscript/compare_cc_results.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/script/compare_cc_results.py b/script/compare_cc_results.py
index 4b8abf601f4..cc16751cf6e 100755
--- a/script/compare_cc_results.py
+++ b/script/compare_cc_results.py
@@ -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 = ''