How to build and run the GNU GAS assembler test suite?
I'm at Binutils tag binutils-2_31
, and there is a directory:
gas/testsuite
with some tests that I'm interested in.
I've compiled the entire binutils with:
./configure
make
but the directory gas/testsuite
didn't seem to be built.
How to build and run those tests?
Hopefully in verbose mode so I can see the full GAS command line.
assembly gas binutils
add a comment |
I'm at Binutils tag binutils-2_31
, and there is a directory:
gas/testsuite
with some tests that I'm interested in.
I've compiled the entire binutils with:
./configure
make
but the directory gas/testsuite
didn't seem to be built.
How to build and run those tests?
Hopefully in verbose mode so I can see the full GAS command line.
assembly gas binutils
add a comment |
I'm at Binutils tag binutils-2_31
, and there is a directory:
gas/testsuite
with some tests that I'm interested in.
I've compiled the entire binutils with:
./configure
make
but the directory gas/testsuite
didn't seem to be built.
How to build and run those tests?
Hopefully in verbose mode so I can see the full GAS command line.
assembly gas binutils
I'm at Binutils tag binutils-2_31
, and there is a directory:
gas/testsuite
with some tests that I'm interested in.
I've compiled the entire binutils with:
./configure
make
but the directory gas/testsuite
didn't seem to be built.
How to build and run those tests?
Hopefully in verbose mode so I can see the full GAS command line.
assembly gas binutils
assembly gas binutils
edited Feb 8 at 12:01
Ciro Santilli 新疆改造中心 六四事件 法轮功
asked Feb 8 at 11:51
Ciro Santilli 新疆改造中心 六四事件 法轮功Ciro Santilli 新疆改造中心 六四事件 法轮功
5,19024343
5,19024343
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I've managed to run the tests with:
sudo apt-get install dejagnu
cd gas
make check
This runs the tests just for the target architecture you configured for of course. For example, for aarch64 tests:
./configure --target aarch64-elf
cd gas
make check
runs only the tests under:
gas/testsuite/gas/aarch64
You can confirm this by hacking one of the tests to fail. E.g., try editing:
gas/testsuite/gas/aarch64/addsub.s
to something wrong and watch it report a failure.
The generated log files seem to contain more information about what was run exactly:
gas/testsuite/gas.log
gas/testsuite/gas.sum
Found with my loyal friends git clean -xdn
and ls -lSr
.
Tested in Ubuntu 16.04.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499456%2fhow-to-build-and-run-the-gnu-gas-assembler-test-suite%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I've managed to run the tests with:
sudo apt-get install dejagnu
cd gas
make check
This runs the tests just for the target architecture you configured for of course. For example, for aarch64 tests:
./configure --target aarch64-elf
cd gas
make check
runs only the tests under:
gas/testsuite/gas/aarch64
You can confirm this by hacking one of the tests to fail. E.g., try editing:
gas/testsuite/gas/aarch64/addsub.s
to something wrong and watch it report a failure.
The generated log files seem to contain more information about what was run exactly:
gas/testsuite/gas.log
gas/testsuite/gas.sum
Found with my loyal friends git clean -xdn
and ls -lSr
.
Tested in Ubuntu 16.04.
add a comment |
I've managed to run the tests with:
sudo apt-get install dejagnu
cd gas
make check
This runs the tests just for the target architecture you configured for of course. For example, for aarch64 tests:
./configure --target aarch64-elf
cd gas
make check
runs only the tests under:
gas/testsuite/gas/aarch64
You can confirm this by hacking one of the tests to fail. E.g., try editing:
gas/testsuite/gas/aarch64/addsub.s
to something wrong and watch it report a failure.
The generated log files seem to contain more information about what was run exactly:
gas/testsuite/gas.log
gas/testsuite/gas.sum
Found with my loyal friends git clean -xdn
and ls -lSr
.
Tested in Ubuntu 16.04.
add a comment |
I've managed to run the tests with:
sudo apt-get install dejagnu
cd gas
make check
This runs the tests just for the target architecture you configured for of course. For example, for aarch64 tests:
./configure --target aarch64-elf
cd gas
make check
runs only the tests under:
gas/testsuite/gas/aarch64
You can confirm this by hacking one of the tests to fail. E.g., try editing:
gas/testsuite/gas/aarch64/addsub.s
to something wrong and watch it report a failure.
The generated log files seem to contain more information about what was run exactly:
gas/testsuite/gas.log
gas/testsuite/gas.sum
Found with my loyal friends git clean -xdn
and ls -lSr
.
Tested in Ubuntu 16.04.
I've managed to run the tests with:
sudo apt-get install dejagnu
cd gas
make check
This runs the tests just for the target architecture you configured for of course. For example, for aarch64 tests:
./configure --target aarch64-elf
cd gas
make check
runs only the tests under:
gas/testsuite/gas/aarch64
You can confirm this by hacking one of the tests to fail. E.g., try editing:
gas/testsuite/gas/aarch64/addsub.s
to something wrong and watch it report a failure.
The generated log files seem to contain more information about what was run exactly:
gas/testsuite/gas.log
gas/testsuite/gas.sum
Found with my loyal friends git clean -xdn
and ls -lSr
.
Tested in Ubuntu 16.04.
edited Feb 11 at 9:05
answered Feb 8 at 18:15
Ciro Santilli 新疆改造中心 六四事件 法轮功Ciro Santilli 新疆改造中心 六四事件 法轮功
5,19024343
5,19024343
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499456%2fhow-to-build-and-run-the-gnu-gas-assembler-test-suite%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown