From bbb32539c21472dd1e543978495e9cf4fa0be80b Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 16 Apr 2019 02:10:13 +0200 Subject: [PATCH] fix: do not use hardcoded slashes in paths --- vunit/test/unit/test_ghdl_interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vunit/test/unit/test_ghdl_interface.py b/vunit/test/unit/test_ghdl_interface.py index be8d8e944..071d6a843 100644 --- a/vunit/test/unit/test_ghdl_interface.py +++ b/vunit/test/unit/test_ghdl_interface.py @@ -168,15 +168,15 @@ def test_elaborate_e_project(self): simif._project.add_library("lib", "lib_path") # pylint: disable=protected-access self.assertEqual( - simif._get_command(config, "output_path/ghdl", True), # pylint: disable=protected-access + simif._get_command(config, join('output_path', 'ghdl'), True), # pylint: disable=protected-access [ - join("prefix", 'ghdl'), + join('prefix', 'ghdl'), '-e', '--std=08', '--work=lib', '--workdir=lib_path', '-Plib_path', - '-o', 'output_path/ghdl/tb_entity-arch', + '-o', join('output_path', 'ghdl', 'tb_entity-arch'), 'tb_entity', 'arch' ] )