Hello all,
I am having issues getting failures to propagate from a sequence call being used as a test. Basically what is happening is that I am getting failures within the sequence. However, when using a sequence call as a test, TestStand ignores any failures within the sequence call and only reports whether the test was a pass or fail based on the output parameters. I would like TestStand to propagate the failure within the sequence. So to get a pass the sequence call being used as a test must be error free AND return the correct values. I would like to find a global solution to this just in case it comes up again for different sequences. But if that is messy I am happy to try adding a statement to the end of my sequences or making a custom step type. However, I have not had luck with these types of solutions yet. I have also tried making a poststep sequence callback that looks for failures, but I had issues with that solution, and I would hate to use a callback (Timing issues).
I have attached an example I made that recreates this scenario. I made this bit of code so it would be easier to understand. Just step through the main sequence and it should show what is happening.
Thanks,
Brady James