make i386 cli tests compile

This commit is contained in:
Folkert 2022-12-20 16:29:01 +01:00
parent d765cae620
commit af4023f116
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -117,9 +117,10 @@ mod cli_run {
assert!(
compile_out.status.success(),
"\n___________\nRoc command failed with status {:?}:\n\n {:?}\n___________\n",
"\n___________\nRoc command failed with status {:?}:\n\n {} {}\n___________\n",
compile_out.status,
compile_out
compile_out.stdout,
compile_out.stderr,
);
compile_out
@ -1031,14 +1032,17 @@ mod cli_run {
stdin: &[&str],
executable_filename: &str,
expected_ending: &str,
use_valgrind: bool,
use_valgrind: UseValgrind,
) {
use super::{concatcp, CMD_BUILD, TARGET_FLAG};
check_output_with_stdin(
&file_name,
stdin,
executable_filename,
&[concatcp!(TARGET_FLAG, "=x86_32")],
&[],
&[],
expected_ending,
use_valgrind,
TestCliCommands::Run,
@ -1050,6 +1054,7 @@ mod cli_run {
executable_filename,
&[concatcp!(TARGET_FLAG, "=x86_32"), OPTIMIZE_FLAG],
&[],
&[],
expected_ending,
use_valgrind,
TestCliCommands::Run,