Check that device setup is complete before running backup hostside tests.
Backup can only run if device setup is complete.
Check before running backup tests as it's better to fail fast.
Bug: 146480804
Test: atest -v CtsBackupHostTestCases
Test: adb shell settings get secure user_setup_complete 0
atest android.cts.backup.SuccessNotificationHostSideTest#testSuccessNotificationForFullBackup
As expected, this fails with:
x86 CtsBackupHostTestCases (1 Test)
RUNNER ERROR: com.android.tradefed.targetprep.TargetSetupError: Cannot run test as backup as setup is not complete for system user
Change-Id: I8518730d89a42f462e03426ad48926d8697c2640
1 file changed