aboutsummaryrefslogtreecommitdiff
path: root/test.sh
AgeCommit message (Collapse)Author
2016-06-23Delete old cbuild2 project, leave pointer to ABEHEADmasterRob Savoye
2014-08-14Restore host.conf on EXITBernard Ogden
Make sure we put host.conf back if a signal slays us Change-Id: I4481623d08bffdc16d7043ca23e65b6a372fe9ac
2014-08-14Only run make install if we were asked toBernard Ogden
Change-Id: I2fcf078dca14cac82ac34ecb7e395464fdfbc58e
2014-08-08Create test_config_defaultBernard Ogden
Converts the existing make_docs test into a function that can test any configure-twiddleable feature. Change-Id: Iaca2e1afb53055ef121bbb5cada020cd49af896b
2014-08-05fix typo in function nameBernie Ogden
2014-08-05restore host.confBernie Ogden
2014-07-14Add support for --marchRyan S. Arnold
Added support for --march in order to build --target arm-linux-gnueabihf --march armv8-a for generating Aarch32 instructions. It is recommended to use --disable make_docs with this feature since making docs are currently broken when building for Aarch32. Change-Id: Ief6a42118cb12b02545d3c3355c45d108ea77c50
2014-07-14Add support for --enable and --disable make_docs in configure and cbuild2.shRyan S. Arnold
This also adds test cases that verify the feature works properly in both configuration as well as, by-default. And additional fix in this patch is that it adds dryrun around make clean invocations. Change-Id: I1b369634bb14d4fffeb03f94a2a13d73c2656592
2014-07-14cbuild2.sh: Make --dump a do_ option so it's position doesn't matter.Ryan S. Arnold
Change-Id: I89bdc9498cb9372a9ebabf6a9860ab31de6169af
2014-07-02Make eglibc default. The gcc.conf file shouldn't set the clibrary.Ryan S. Arnold
The clibrary should be set in cbuild2.sh so that it can be overridden and the values compared against expectations. This includes automatic setting of newlib for baremetal targets. Change-Id: Ifb468099162a6e48a43d82a82d5204d11348604a
2014-02-05test.sh: Don't have tests rely on 'Completed' message if they don't use ↵Ryan S. Arnold
--build or --checkout. Change-Id: I6f5cb7ff78b648721caf6bd392fbe0a2ac089e6f
2014-02-03cbuild2.sh: Add --stage {1|2} for building gcc standalone.Ryan S. Arnold
Also add toplevel test.sh testcases for --stage. Change-Id: Ifceba26ae104835a563b8ad11b5e49e744d99e72
2014-02-03test.sh: Run configure in tmpdir when test.sh is run from srcdir.Ryan S. Arnold
This simplifies test.sh by reusing host.conf since we don't need to export a bunch of overridden values. Change-Id: Ia517049490a851360cb705c9841d6c2993eb9a80
2014-02-03test.sh: Add --disable update test cases.Ryan S. Arnold
Change-Id: I9d7004188bcb5146bd5185f1b3ff249a5336021f
2014-02-03cbuild2.sh: Add --enable bootstrap and cleanup --disable.Ryan S. Arnold
Also add toplevel test.sh tests for --enable bootstrap and --disable install. Change-Id: I499901994433b408b251d40cc1c695625fe84c7b
2014-02-03cbuild2.sh: Make sure <package>=<setting> is processed after --target.Ryan S. Arnold
We need to error check the clibrary setting against the chosen target in all configuration/combinations. Change-Id: I7df34f5265cf7763e80dd2de81671eefbdb94405
2013-12-16cbuild2.sh: --set <foo> is now shifted behind --target when both commands ↵Ryan S. Arnold
are present on command line. This is because the validity of <foo> is determined by --target. Change-Id: I3c3f53448caa38805b75897176a3b6573bda0125
2013-12-16cbuild2.sh: Make --build and --checkout position independent in the command ↵Ryan S. Arnold
line args. Change-Id: Ia30a0b3f2f6f5c557d37f79c284fb28db0275e52
2013-12-12cbuild2.sh: All error exit paths should use build_failure().Ryan S. Arnold
Change-Id: I95c8ebca58049b86fa9d4390bb1cdfd81e74a6f5
2013-12-11cbuild2.sh: Added check_directive() to unify bounds checking.Ryan S. Arnold
Also added accompanying top-level test.sh fragments to test check_directive. Change-Id: Ia42a4b241a5ca62d41dccf1d8e023980ad0a04d0
2013-12-11test.sh: Fixed to work with a temporary host.conf file.Ryan S. Arnold
Require change due to commit 3b5c576630a8ac08cd3b9ab9eab781308549a858 which requires a host.conf file for finding the cbuild topdir. Change-Id: I991bb5f2a7949267bf69fba093d6becd202ad138
2013-12-11cbuild2.sh: Bounds check --release switch.Ryan S. Arnold
Change-Id: I90804ea02b995d476b148fb68db955d164bc674c
2013-12-10cbuild2.sh: Bounds check --set input.Ryan S. Arnold
Change-Id: I8ebffd1809b17962aef58f2a08277d5f639d7e3e
2013-12-10Correct get_toolname to work with unified repo: binutils-gdb.gitRyan S. Arnold
Secondary fixes required: * Set config/binutils.conf and config/gdb.conf to use unified repo binutils-gdb.git. * Re-enable binutils-gdb.git in config/sources.conf. * get_toolname now calls get_git_tool and determines the actual toolname for binutils and gdb from the branch name if the repository is unified. * Made all other usages of get_git_tool use get_toolname instead. * checkout() now uses ${repo} as returned from get_git_repo as the git repository instead of ${tool}.git. This allows a unified repository to only be checked out once. * The git parser now determines whether an http:// in a url means a git service or an svn service. * The git parser now returns branch names for launchpad urls with branches in the url. * The git parser now returns the tool name properly for an svn service. * The git parser testsuite now has testcases for all new additions. Also * Added --snapshots functionality to allow specifying an existing snapshots directory. * Add testcases to test.sh to test --snapshots functionality. * Changes test.sh --snapshots directive to --md5sums to avoid confusion with cbuild2.sh --snapshots. Change-Id: I2c279bd85320bd3d0b50ae262cc13255f45f8b14
2013-12-06cbuild2.sh: remove --dostep. It's no longer supported.Ryan S. Arnold
Also added testcase to make sure it returns an error.
2013-12-06Add cbuild2 --checkout <package>|all support with testsRyan S. Arnold
2013-11-19Add --timeout to cbuild2 command line to increase timeout value for wget.Ryan S. Arnold
2013-11-12Add glibc support to cbuildv2 along with toplevel test cases.Ryan S. Arnold
2013-11-12Add some error checking to --target and --build. Add top level cbuild.sh test.Ryan S. Arnold
2013-05-16initial version of minimal scripts.Rob Savoye