Skip to content

Commit f0cce26

Browse files
committed
test: remove the CMakeCache.txt check, it is not required
1 parent 6591188 commit f0cce26

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

pytools/idfx_test.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import re
77
import json
88
import pytest
9+
import warnings
910

1011
import numpy as np
1112
import matplotlib.pyplot as plt
@@ -308,12 +309,6 @@ def clean(self):
308309
if os.path.exists(self.buildDir):
309310
shutil.rmtree(self.buildDir)
310311

311-
# remove previous build configuration cache in the test itself
312-
# otherwise cmake takes it in the build subdir
313-
testDirCMakeCache = os.path.join(self.testDir, "CMakeCache.txt")
314-
if os.path.exists(testDirCMakeCache):
315-
os.unlink(testDirCMakeCache)
316-
317312
# recreate
318313
os.makedirs(self.buildDir, exist_ok=False)
319314

0 commit comments

Comments
 (0)