flatcar-scripts/mod_for_test_scripts
Darin Petkov 597a79dc85 Fail 'build_image test' if a mod-for-test script fails.
It seems better to catch issues earlier during the build phase rather than later
during the actual test run. Prompted to do this after debugging
crosbug.com/21837.

BUG=chromium-os:23422
TEST=build_image test for x86-alex, amd64-generic, tegra2_kaen with no failures;
build_image factory_test for x86-alex with no failures; also verified that
build_image exits early with a non-zero exit code for amd64-generic without the
fix for crosbug.com/21837.

Change-Id: Ibdcf770d1d854d5a6765734556cf6ee8fc4aae96
Reviewed-on: https://gerrit.chromium.org/gerrit/12102
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Ready: Darin Petkov <petkov@chromium.org>
2011-11-28 14:10:46 -08:00
..
ssh_keys Cleanup and merge autotest wrappers. 2010-01-27 12:11:08 -08:00
000recordRootFsSize Fix rootfs size writing 2010-05-07 11:31:52 -07:00
001changeBuildName Modifies image so that devs can tell immediately whether their build is a test build 2010-03-23 13:51:19 -07:00
002changeUpdateChannel Add a new script to change the update channel for test images. 2011-10-10 14:19:27 -07:00
100setupTestingInterface scripts: adjust to change in flimflam.conf 2011-06-01 11:57:57 -07:00
150setupVirtualWiFi crosutils: add new mod_for_test script, to keep flimflam away from 2011-08-29 11:46:09 -07:00
200disableIdleSuspend Moved disable_idle_suspend to rootfs from stateful partition for test images. 2010-09-07 09:34:12 -07:00
300changePassword mod_image_for_test: add --{no,}standard_backdoor option. 2011-06-30 11:38:34 -07:00
350addTestAuthKeys mod_image_for_test: add --{no,}standard_backdoor option. 2011-06-30 11:38:34 -07:00
400modifyUpstart Look at all upstart configuation scripts for the #for_test hack. 2011-11-07 15:55:52 -08:00
700enableAutoxLogin Change mod_for_test_script to make it work with arm os image. 2010-03-15 20:35:59 -07:00
710enableAuthTesting Fix mod_for_test scripts to recognize amd64 as a valid architecture 2011-11-23 16:17:54 -08:00
750enableExternalExtensions Fix path for upcoming Autotest relocation. 2011-01-10 11:50:01 -08:00
900mountHomeExec Revert "This change removes the autotest mount-specific change from the mod_for_test scripts as we no longer need executable /tmp or /home for autotest." 2011-01-12 14:36:51 -08:00
test_setup.sh Fail 'build_image test' if a mod-for-test script fails. 2011-11-28 14:10:46 -08:00