From 7feec572adbd43c423151b622855a6377fa989f9 Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Tue, 22 Sep 2020 14:05:17 +0900 Subject: [PATCH] add expander test --- test/test_expander.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_expander.py b/test/test_expander.py index 0ba286a..28518ea 100755 --- a/test/test_expander.py +++ b/test/test_expander.py @@ -2,7 +2,7 @@ import unittest from logging import Logger, basicConfig, getLogger -from os import getenv, environ +from os import getenv, environ, pathsep from pathlib import Path from shutil import copy from subprocess import run @@ -46,6 +46,9 @@ def test_env_value(self): env = environ.copy() env['CPLUS_INCLUDE_PATH'] = str(Path.cwd().resolve()) self.compile_test(Path('test/expander/include_all.cpp'), env=env) + env['CPLUS_INCLUDE_PATH'] = pathsep + \ + pathsep + str(Path.cwd().resolve()) + pathsep + self.compile_test(Path('test/expander/include_all.cpp'), env=env) if __name__ == "__main__":