a26fa88ae02e8db7ff51924735f57d95e57d26d5,benchmarking/harness.py,BenchmarkDriver,run,#BenchmarkDriver#,178

Before Change


        for t in threads:
            t.join()

        if not getArgs().debug:
            shutil.rmtree(tempdir, True)

    def _getInfo(self):

After Change


            shutil.rmtree(tempdir, True)

        status = self.status | getRunStatus()
        if status == 0:
            status_str = "success"
        elif status == 1:
            status_str = "user error"
        elif status == 2:
            status_str = "harness error"
        else:
            status_str = "user and harness error"
        getLogger().info(" ======= {} =======".format(status_str))
        sys.exit(status)

    def _getInfo(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: facebook/FAI-PEP
Commit Name: a26fa88ae02e8db7ff51924735f57d95e57d26d5
Time: 2019-01-29
Author: huaminli@fb.com
File Name: benchmarking/harness.py
Class Name: BenchmarkDriver
Method Name: run


Project Name: facebook/FAI-PEP
Commit Name: 4bf7d4febf5b0e61385f29685d4f506ad4860885
Time: 2018-10-01
Author: sf_wind@hotmail.com
File Name: benchmarking/harness.py
Class Name: BenchmarkDriver
Method Name: _getInfo


Project Name: facebook/FAI-PEP
Commit Name: a26fa88ae02e8db7ff51924735f57d95e57d26d5
Time: 2019-01-29
Author: huaminli@fb.com
File Name: benchmarking/harness.py
Class Name: BenchmarkDriver
Method Name: _getInfo