Skip to content

Commit

Permalink
add expander test
Browse files Browse the repository at this point in the history
  • Loading branch information
yosupo06 committed Sep 22, 2020
1 parent 2a8bc71 commit 7feec57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_expander.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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__":
Expand Down

0 comments on commit 7feec57

Please sign in to comment.