Skip to content

Commit

Permalink
remove SignalIntegrityBook tests
Browse files Browse the repository at this point in the history
base on existence of directory
  • Loading branch information
PetePupalaikis committed Nov 9, 2018
1 parent c3628dd commit 90ce655
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def __init__(self, methodName='runTest'):
unittest.TestCase.__init__(self,methodName)
def setUp(self):
os.chdir(self.path)
self.book=os.path.exists('../../../../SignalIntegrityBook/')
def testFourPortTLineTest(self):
self.SimulationResultsChecker('FourPortTLineTest.xml')
def testFilterTest(self):
Expand Down Expand Up @@ -85,10 +86,13 @@ def testSignalIntegrityAppExamplesPulseGeneratorTest(self):
def testSignalIntegrityAppExamplesStepGeneratorTest(self):
self.SimulationResultsChecker('../../../SignalIntegrity/App/Examples/StepGeneratorTest.xml')
def testSignalIntegrityAppSignalIntegrityBookMeasurementTDRSimulationTest(self):
if not self.book: return
self.SimulationResultsChecker('../../../../SignalIntegrityBook/Measurement/TDRSimulation.xml')
def testSignalIntegrityAppSignalIntegrityBookMeasurementTDRSimulationTest2(self):
if not self.book: return
self.SimulationResultsChecker('../../../../SignalIntegrityBook/Measurement/TDRSimulation2.xml')
def testSignalIntegrityAppSignalIntegrityBookMeasurementTDRSimulationTest3(self):
if not self.book: return
self.SimulationResultsChecker('../../../../SignalIntegrityBook/Measurement/TDRSimulation3.xml')
def testPicturesNetlists(self):
filesList=[
Expand Down Expand Up @@ -223,8 +227,9 @@ def testPicturesNetlists(self):
]
for filename in filesList:
self.setUp()
if not 'SignalIntegrityBook' in filename or self.book:
#print filename
self.Preliminary(filename)
self.Preliminary(filename)

if __name__ == "__main__":
unittest.main()

0 comments on commit 90ce655

Please sign in to comment.