Skip to content

Commit

Permalink
Fix windows unit test path problem
Browse files Browse the repository at this point in the history
  • Loading branch information
kraigher committed May 10, 2018
1 parent c043839 commit 77bc096
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion vunit/incisive_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def simulate(self, # pylint: disable=too-many-locals
args += config.sim_options.get('incisive.irun_sim_flags', [])
args += ['-cdslib "%s"' % self._cdslib]
args += self._hdlvar_args()
args += ['-log "%s/irun_%s.log"' % (script_path, step)]
args += ['-log "%s"' % join(script_path, "irun_%s.log" % step)]
if not self._log_level == "debug":
args += ['-quiet']
else:
Expand Down
14 changes: 7 additions & 7 deletions vunit/test/unit/test_incisive_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def test_simulate_vhdl(self, run_command, find_cds_root_irun, find_cds_root_virt
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_elaborate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_elaborate.log"),
'-quiet',
'-reflib "lib_path"',
'-access +r',
Expand All @@ -508,7 +508,7 @@ def test_simulate_vhdl(self, run_command, find_cds_root_irun, find_cds_root_virt
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_simulate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_simulate.log"),
'-quiet',
'-reflib "lib_path"',
'-access +r',
Expand Down Expand Up @@ -559,7 +559,7 @@ def test_simulate_verilog(self, run_command, find_cds_root_irun, find_cds_root_v
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_elaborate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_elaborate.log"),
'-quiet',
'-reflib "lib_path"',
'-access +r',
Expand All @@ -580,7 +580,7 @@ def test_simulate_verilog(self, run_command, find_cds_root_irun, find_cds_root_v
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_simulate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_simulate.log"),
'-quiet',
'-reflib "lib_path"',
'-access +r',
Expand Down Expand Up @@ -700,7 +700,7 @@ def test_elaborate(self, run_command, find_cds_root_irun, find_cds_root_virtuoso
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_elaborate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_elaborate.log"),
'-quiet',
'-access +r',
'-input "@run"',
Expand Down Expand Up @@ -784,7 +784,7 @@ def test_simulate_gui(self, run_command, find_cds_root_irun, find_cds_root_virtu
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_elaborate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_elaborate.log"),
'-quiet',
'-reflib "lib_path"',
'-access +rwc',
Expand All @@ -805,7 +805,7 @@ def test_simulate_gui(self, run_command, find_cds_root_irun, find_cds_root_virtu
'-work work',
'-nclibdirname "%s"' % join(self.output_path, "libraries"),
'-cdslib "%s"' % join(self.output_path, "cds.lib"),
'-log "suite_output_path/%s/irun_simulate.log"' % simif.name,
'-log "%s"' % join("suite_output_path", simif.name, "irun_simulate.log"),
'-quiet',
'-reflib "lib_path"',
'-access +rwc',
Expand Down

0 comments on commit 77bc096

Please sign in to comment.