diff options
| author | dhuth <derickhuth@gmail.com> | 2015-01-27 14:00:12 -0700 | 
|---|---|---|
| committer | dhuth <derickhuth@gmail.com> | 2015-01-27 14:00:12 -0700 | 
| commit | 34c463a1d3a19f556e3e910313d2c2eac1736c6b (patch) | |
| tree | 9bc55a0f86c6a02f0d9a74a9d55a8ae197eaebf8 /test-chill/testchill | |
| parent | eb9236c5353785472ae132f27e1cfb9f1e4264a5 (diff) | |
| download | chill-34c463a1d3a19f556e3e910313d2c2eac1736c6b.tar.gz chill-34c463a1d3a19f556e3e910313d2c2eac1736c6b.tar.bz2 chill-34c463a1d3a19f556e3e910313d2c2eac1736c6b.zip  | |
coverage fixes
Diffstat (limited to 'test-chill/testchill')
| -rw-r--r-- | test-chill/testchill/__main__.py | 8 | ||||
| -rw-r--r-- | test-chill/testchill/chill.py | 2 | 
2 files changed, 5 insertions, 5 deletions
diff --git a/test-chill/testchill/__main__.py b/test-chill/testchill/__main__.py index 3e03e11..8af5b9c 100644 --- a/test-chill/testchill/__main__.py +++ b/test-chill/testchill/__main__.py @@ -316,8 +316,8 @@ def add_global_args(arg_parser):      """      arg_parser.add_argument('-w', '--working-dir', dest='wd', default=os.getcwd(), help='The working directory. (Defaults to the current directory)', metavar='working-directory')      arg_parser.add_argument('-R', '--rose-home', dest='rose_dir', default=os.getenv('ROSEHOME'), help='Rose home directory. (Defaults to ROSEHOME)', metavar='rose-home') -    arg_parser.add_argument('-C', '--chill-home', dest='chill_dir', default=os.getenv('CHILLHOME'), help='Chill home directory. (Defaults to CHILLHOME)', metavar='chill-home') -    arg_parser.add_argument('-O', '--omega-home', dest='omega_dir', default=os.joinpath(os.getcwd(), '../omega'), help='Omega home directory. (Defaults to ../omega)', metavar='omega-home') +    arg_parser.add_argument('-C', '--chill-home', dest='chill_dir', default=os.path.join(os.getcwd(), '..'), help='Chill home directory. (Defaults to CHILLHOME)', metavar='chill-home') +    arg_parser.add_argument('-O', '--omega-home', dest='omega_dir', default=os.path.join(os.getcwd(), '../omega'), help='Omega home directory. (Defaults to ../omega)', metavar='omega-home')      arg_parser.add_argument('-b', '--binary-dir', dest='bin_dir', default=None, help='Binary directory.', metavar='bin-dir')  @util.callonce @@ -364,8 +364,8 @@ def main():      coverage = gcov.GcovSet()      #coverage=None      results = list(test.run(args_to_tclist(coverage_set=coverage))) -    #test.pretty_print_results(results) -    #util.rmtemp() +    test.pretty_print_results(results) +    util.rmtemp()      #coverage.pretty_print()      with open('coverage.pickle', 'wb') as f: diff --git a/test-chill/testchill/chill.py b/test-chill/testchill/chill.py index b881ef4..05f3b4f 100644 --- a/test-chill/testchill/chill.py +++ b/test-chill/testchill/chill.py @@ -188,7 +188,7 @@ class BuildChillTestCase(test.TestCase):          if self.test_result.passed():              if self.config.bin_dir:                  util.shell('mv', [os.path.join(self.config.chill_dir, self.config.make_target()), os.path.join(self.config.bin_dir, self.config.name())]) -            else: +            elif not self.config.make_target() == self.config.name():                  util.shell('mv', [os.path.join(self.config.chill_dir, self.config.make_target()), os.path.join(self.config.chill_dir, self.config.name())])  | 
