Skip to content

Commit

Permalink
merged in master
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 18, 2023
2 parents dd7f047 + 3abfa02 commit 7290c07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ __pycache__
/.settings
.DS_Store
.idea/
/.mypy_cache/
4 changes: 2 additions & 2 deletions unittests/make_tools/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ test_ranges.txt
/log.ranges
alpha
logs.sqlite3
convert.sqlite3

convert_1.sqlite3
convert_2.sqlite3
3 changes: 2 additions & 1 deletion unittests/make_tools/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def test_convert(self):
class_file = sys.modules[self.__module__].__file__
path = os.path.dirname(os.path.abspath(class_file))
os.chdir(path)
os.environ["C_LOGS_DICT"] = str(os.path.join(path, "convert.sqlite3"))
os.environ["C_LOGS_DICT"] = str(os.path.join(path,
"convert_1.sqlite3"))
# Clear the database
LogSqlLiteDatabase(True)
src = "mock_src"
Expand Down
3 changes: 2 additions & 1 deletion unittests/make_tools/test_file_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class TestConverter(unittest.TestCase):
def test_convert(self):
class_file = sys.modules[self.__module__].__file__
path = os.path.dirname(os.path.abspath(class_file))
os.environ["C_LOGS_DICT"] = str(os.path.join(path, "convert.sqlite3"))
os.environ["C_LOGS_DICT"] = str(os.path.join(path,
"convert_2.sqlite3"))
file_name = "weird,file.c"
src = os.path.join(path, "mock_src")
dest = os.path.join(path, "modified_src")
Expand Down

0 comments on commit 7290c07

Please sign in to comment.