Travis - Only do a logcat dump if a build or test fails.
Utilities test methods