Add a -no-fax option to run_cavp.

At some point we'll need to run this against an actual run, where FAX
files are unavailable.

Change-Id: I244bdb6608faf78f321d7016416bbad0486fd0b6
Reviewed-on: https://boringssl-review.googlesource.com/16424
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/fipsoracle/run_cavp.go b/fipsoracle/run_cavp.go
index 4752555..ffcbdd8 100644
--- a/fipsoracle/run_cavp.go
+++ b/fipsoracle/run_cavp.go
@@ -18,6 +18,7 @@
 var (
 	oraclePath = flag.String("oracle-bin", "", "Path to the oracle binary")
 	suiteDir   = flag.String("suite-dir", "", "Base directory containing the CAVP test suite")
+	noFAX      = flag.Bool("no-fax", false, "Skip comparing against FAX files")
 )
 
 // test describes a single request file.
@@ -307,7 +308,7 @@
 			os.Exit(2)
 		}
 
-		if !test.noFAX {
+		if !*noFAX && !test.noFAX {
 			if err := compareFAX(ti.suite, test); err != nil {
 				fmt.Fprintf(os.Stderr, "%s\n", err)
 				os.Exit(3)