<s> """<STR_LIT>""" <EOL> import os <EOL> import sys <EOL> import unittest <EOL> sys . path . append ( '<STR_LIT:..>' ) <EOL> from cc_binary_test import TestCcBinary <EOL> from cc_library_test import TestCcLibrary <EOL> from cc_plugin_test import TestCcPlugin <EOL> from cc_test_test import TestCcTest <EOL> from gen_rule_test import TestGenRule <EOL> from java_jar_test import TestJavaJar <EOL> from lex_yacc_test import TestLexYacc <EOL> from load_builds_test import TestLoadBuilds <EOL> from proto_library_test import TestProtoLibrary <EOL> from prebuild_cc_library_test import TestPrebuildCcLibrary <EOL> from query_target_test import TestQuery <EOL> from resource_library_test import TestResourceLibrary <EOL> from swig_library_test import TestSwigLibrary <EOL> from target_dependency_test import TestDepsAnalyzing <EOL> from html_test_runner import HTMLTestRunner <EOL> from test_target_test import TestTestRunner <EOL> def _main ( ) : <EOL> """<STR_LIT>""" <EOL> suite_test = unittest . TestSuite ( ) <EOL> suite_test . addTests ( [ <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestCcLibrary ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestCcBinary ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestCcPlugin ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestCcTest ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestGenRule ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestJavaJar ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestLexYacc ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestLoadBuilds ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestProtoLibrary ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestResourceLibrary ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestSwigLibrary ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestDepsAnalyzing ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestQuery ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestTestRunner ) , <EOL> unittest . defaultTestLoader . loadTestsFromTestCase ( TestPrebuildCcLibrary ) <EOL> ] ) <EOL> generate_html = len ( sys . argv ) > <NUM_LIT:1> and sys . argv [ <NUM_LIT:1> ] . startswith ( '<STR_LIT:html>' ) <EOL> if generate_html : <EOL> runner = HTMLTestRunner ( title = '<STR_LIT>' ) <EOL> runner . run ( suite_test ) <EOL> else : <EOL> runner = unittest . TextTestRunner ( ) <EOL> runner . run ( suite_test ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> _main ( ) </s>
