summaryrefslogtreecommitdiffstats
path: root/util/check-format.pl
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-09-28 08:26:31 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-09-30 20:51:23 +0200
commitdf4ec3920386b1e6cba0976dac36b3c2456090fc (patch)
treeff82c58d2c619d76ae5030cfeb5b5d356290c1e2 /util/check-format.pl
parent4a24d6050bee3cafd3e1eb42b800ece23bdba6b5 (diff)
check-format.pl: Document how to run positive and negative self-tests
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13019)
Diffstat (limited to 'util/check-format.pl')
-rwxr-xr-xutil/check-format.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/check-format.pl b/util/check-format.pl
index 0619240f82..e3c0eaddb0 100755
--- a/util/check-format.pl
+++ b/util/check-format.pl
@@ -17,6 +17,10 @@
# [-h|--sloppy-hang] [-1|--1-stmt]
# <files>
#
+# run self-tests:
+# util/check-format.pl util/check-format-test-positives.c
+# util/check-format.pl util/check-format-test-negatives.c
+#
# checks adherence to the formatting rules of the OpenSSL coding guidelines
# assuming that the input files contain syntactically correct C code.
# This pragmatic tool is incomplete and yields some false positives.