Lines Matching refs:options
350 (options, args) = parser.parse_args()
352 if not options.libpath:
354 if not os.path.exists(options.libpath):
355 sys.exit("Error: library-path " + options.libpath + " does not exist\n"
357 if not options.policy:
359 if not os.path.exists(options.policy):
360 sys.exit("Error: policy file " + options.policy + " does not exist\n"
362 if not options.file_contexts:
364 for f in options.file_contexts:
371 if options.tests is None or options.tests is "TrebleCompatMapping":
372 if not options.basepolicy:
375 if not options.mapping:
378 if not options.oldpolicy:
381 if not options.base_pub_policy:
384 basepol = policy.Policy(options.basepolicy, None, options.libpath)
385 oldpol = policy.Policy(options.oldpolicy, None, options.libpath)
386 mapping = mini_parser.MiniCilParser(options.mapping)
387 pubpol = mini_parser.MiniCilParser(options.base_pub_policy)
390 if options.faketreble:
393 pol = policy.Policy(options.policy, options.file_contexts, options.libpath)
401 if options.tests is None:
405 for tn in options.tests: