Skip to content

Commit

Permalink
Try to make this work in any order
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Dec 11, 2023
1 parent da3ccd0 commit 81e634e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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
2 changes: 1 addition & 1 deletion unittests/make_tools/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ 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
2 changes: 1 addition & 1 deletion unittests/make_tools/test_file_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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 81e634e

Please sign in to comment.