diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-05-19 14:01:56 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-05-19 14:01:56 +0300 |
| commit | e0efaffe4b260e8a749fd2bbc92537ea78c4b19d (patch) | |
| tree | ff2c7edacb93198d34f5a42a1586e0e3929bf7bd /gnu/packages | |
| parent | e6d44c6bcf27e641925ee290d3388d3cb62925e8 (diff) | |
gnu: rusty: Skip some tests on non-x86_64 systems.
* gnu/packages/rust-apps.scm (rusty)[arguments]: Add cargo-test-flags to
skip some tests when not building on x86_64-linux.
Change-Id: I0bbc16d52d05ce0907f4f3587430d3969583b3d3
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index e8f082828a8..594a2723125 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm | |||
| @@ -3130,6 +3130,28 @@ touchscreen devices.") | |||
| 3130 | (list | 3130 | (list |
| 3131 | #:install-source? #f | 3131 | #:install-source? #f |
| 3132 | #:cargo-install-paths ''("compiler/plc_driver") | 3132 | #:cargo-install-paths ''("compiler/plc_driver") |
| 3133 | #:cargo-test-flags | ||
| 3134 | ;; Some of the tests assume an x86_64-linux-gnu host or cross-compiler. | ||
| 3135 | (if (target-x86-64?) | ||
| 3136 | ''() | ||
| 3137 | ''("--" | ||
| 3138 | "--skip=integration::build_description_tests::build_empty_project" | ||
| 3139 | "--skip=integration::build_description_tests::build_empty_project_debug" | ||
| 3140 | "--skip=integration::build_description_tests::build_to_temp" | ||
| 3141 | "--skip=integration::build_description_tests::build_with_library_link_path" | ||
| 3142 | "--skip=integration::build_description_tests::build_with_separate_lib_folder" | ||
| 3143 | "--skip=integration::build_description_tests::build_with_target_but_without_sysroot" | ||
| 3144 | "--skip=integration::external_files::compile_external_file" | ||
| 3145 | "--skip=integration::external_files::compile_external_file_with_encoding" | ||
| 3146 | "--skip=integration::linking::link_as_pic_object" | ||
| 3147 | "--skip=integration::linking::link_as_relocatable_object" | ||
| 3148 | "--skip=integration::linking::link_as_shared_object" | ||
| 3149 | "--skip=integration::linking::link_as_static_object" | ||
| 3150 | "--skip=integration::linking::link_constants" | ||
| 3151 | "--skip=integration::linking::link_files_with_same_name" | ||
| 3152 | "--skip=integration::linking::link_files_with_same_name_but_different_extension" | ||
| 3153 | "--skip=integration::linking::link_to_a_relative_location_with_no_parent" | ||
| 3154 | "--skip=integration::linking::link_with_initial_values")) | ||
| 3133 | #:phases | 3155 | #:phases |
| 3134 | #~(modify-phases %standard-phases | 3156 | #~(modify-phases %standard-phases |
| 3135 | (add-after 'unpack 'set-cc | 3157 | (add-after 'unpack 'set-cc |
