Question: I need help with writing python script. The script will run the test and check the result of the test, if PASS, it will end.

I need help with writing python script.

The script will run the test and check the result of the test, if PASS, it will end.

If FAIL, the test will run again, if the test PASS or FAIL from second time, it will end.

To check the test result, it needs to run following command, "tail test.log", it will print the test result.

The script needs to read the result weather it pass or fail.

If, then, else can be used.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!