diff options
author | Ryan S. Arnold <ryan.arnold@linaro.org> | 2014-07-14 21:20:56 +0100 |
---|---|---|
committer | Ryan S. Arnold <ryan.arnold@linaro.org> | 2014-07-14 21:20:56 +0100 |
commit | 69ea8cc51e92e8dc653e341da7b3783f31f1cdf4 (patch) | |
tree | ec89012d3eb3bb93f7d9ad31c0ea3972348a3532 /test.sh | |
parent | 92b9a45b234c510b10b3d124ae301872993201fc (diff) |
Add support for --march
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
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -613,6 +613,15 @@ else fail ${testlineno} "VALID: --dryrun --build gcc.git --stage 2" fi +cb_commands="--dry-run --target arm-none-linux-gnueabihf --march armv8-a --dump" +match='Default march armv8-a' +test_pass "${cb_commands}" "${match}" + +cb_commands="--dry-run --target arm-none-linux-gnueabihf --march=armv8-a --dump" +match="A space is expected" +test_fail "${cb_commands}" "${match}" + + # If the tests pass successfully clean up /tmp/<tmpdir> but only if the # directory name is conformant. We don't want to accidentally remove /tmp. if test x"${tmpdir}" = x"/tmp"; then |