diff --git a/Test/TestSignalIntegrity/TestSignalIntegrityApp/TestSignalIntegrityApp.py b/Test/TestSignalIntegrity/TestSignalIntegrityApp/TestSignalIntegrityApp.py index c6ed86f18..6511a8b43 100644 --- a/Test/TestSignalIntegrity/TestSignalIntegrityApp/TestSignalIntegrityApp.py +++ b/Test/TestSignalIntegrity/TestSignalIntegrityApp/TestSignalIntegrityApp.py @@ -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): @@ -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=[ @@ -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()