Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix config path for win32 (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
chicm-ms authored Mar 21, 2020
1 parent 7bce40c commit 88f2ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/nni_test/nnitest/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def update_training_service_config(config, training_service):
deep_update(config, it_ts_config[training_service])

def prepare_config_file(test_case_config, it_config, args):
config_path = os.path.join(args.nni_source_dir, test_case_config['configFile'])
config_path = args.nni_source_dir + test_case_config['configFile']
test_yml_config = get_yml_content(config_path)

# apply test case specific config
Expand Down Expand Up @@ -221,7 +221,7 @@ def run(args):
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument("--config", type=str, required=True)
parser.add_argument("--nni_source_dir", type=str, default='..')
parser.add_argument("--nni_source_dir", type=str, default='../')
parser.add_argument("--cases", type=str, default=None)
parser.add_argument("--exclude", type=str, default=None)
parser.add_argument("--ts", type=str, choices=['local', 'remote', 'pai', 'kubeflow', 'frameworkcontroller'], default='local')
Expand Down

0 comments on commit 88f2ebf

Please sign in to comment.