Esempio n. 1
0
    def _standardChecks(self):
        Checker = CheckerFactory.getChecker("standard_test", self.module_dir)
        Checker.setup()
        Checker.run(self.astructs_lookup, "libidccss30")
        Checker.run(self.gdi_lookup, "libgdi")
        Checker.printStatus()
        Checker.teardown()

        return Checker.get_collection_dict()
Esempio n. 2
0
    def _aesirDirectChecks(self):
        # Direct check for types(structures)
        Checker = CheckerFactory.getChecker("standard_test", self.module_dir)
        Checker.setup()
        Checker.run(self.aesir_struct_lookup, "libaesir_structs")
        Checker.run(self.aesir_h_files_lookup,
                    "libaesir_h_files",
                    check_type="include")
        Checker.printStatus()
        Checker.teardown()

        return Checker.get_collection_dict()
Esempio n. 3
0
    def _includeDirectChecks(self):
        include_dirs = self.include_dirs.split(",")
        print include_dirs
        Checker = CheckerFactory.getChecker("standard_test", self.module_dir)
        Checker.setup()
        Checker.run(self.idcmodel_h_files_lookup,
                    "libidccss30",
                    check_type="include")
        Checker.run(self.gdi_h_files_lookup, "libgdi", check_type="include")
        Checker.printStatus()
        Checker.teardown()

        return Checker.get_collection_dict()
Esempio n. 4
0
    def _indirectChecks(self):
        include_dirs = self.include_dirs.split(",")
        print include_dirs
        IncludeChecker = CheckerFactory.getChecker("indirect_test",
                                                   self.module_dir,
                                                   include_dirs)
        IncludeChecker.setup()
        IncludeChecker.run(self.astructs_lookup, "libidccss30")
        IncludeChecker.run(self.gdi_lookup, "libgdi")
        IncludeChecker.printStatus()
        IncludeChecker.teardown()

        return IncludeChecker.get_collection_dict()
Esempio n. 5
0
    def _includeIndirectChecks(self):
        IncludeChecker = CheckerFactory.getChecker("indirect_test",
                                                   self.module_dir,
                                                   self.include_dirs)
        IncludeChecker.setup()
        IncludeChecker.run(self.idcmodel_h_files_lookup,
                           "libidccss30",
                           check_type="include")
        IncludeChecker.run(self.gdi_h_files_lookup,
                           "libgdi",
                           check_type="include")
        IncludeChecker.printStatus()
        IncludeChecker.teardown()

        return IncludeChecker.get_collection_dict()
Esempio n. 6
0
     print("For usage information type <scriptname.py> -h")
     exit()
 
 if options.gdi_h_files_lookup == None:
     print("Path to the gdi-h-files-lookup lookup not specified.")
     print("For usage information type <scriptname.py> -h")
     exit()
 
 if options.include_dirs == None:
     print("Comma separated list of include dirs of indirect header files.")
     print("For usage information type <scriptname.py> -h")
     exit()
 
 include_dirs = options.include_dirs.split(",")
 print include_dirs
 Checker = CheckerFactory.getChecker("standard_test", options.module_dir)
 Checker.setup()
 Checker.run(options.idcmodel_h_files_lookup, "libidccss30", check_type="include")
 Checker.run(options.gdi_h_files_lookup, "libgdi", check_type="include")
 Checker.printStatus()
  
 Checker.teardown()
 
 IncludeChecker = CheckerFactory.getChecker("indirect_test", options.module_dir, include_dirs)
 IncludeChecker.setup()
 IncludeChecker.run(options.idcmodel_h_files_lookup, "libidccss30", check_type="include")
 IncludeChecker.run(options.gdi_h_files_lookup, "libgdi", check_type="include")
 IncludeChecker.printStatus()
 IncludeChecker.teardown()