Skip to content

Conversation

@glaubitz
Copy link
Contributor

@glaubitz glaubitz commented Nov 8, 2025

Fixes #490

I have tested my patch against the Debian package and with the patch, kcov builds and passes all tests:

PYTHONPYCACHEPREFIX="/home/glaubitz/kcov-deb/kcov-43+dfsg/py-cache" PYTHONPATH="/home/glaubitz/kcov-deb/kcov-43+dfsg/tests/tools" \
        python3 -m libkcov /home/glaubitz/kcov-deb/kcov-43+dfsg/obj-sparc64-linux-gnu/src/kcov "/home/glaubitz/kcov-deb/kcov-43+dfsg/tests-temp" "/home/glaubitz/kcov-deb/kcov-43+dfsg/build-tests/" "." --no-ptrace -v
runTest (test_basic.lookup_binary_in_path.runTest) ... expected failure
runTest (test_basic.too_few_arguments.runTest) ... ok
runTest (test_basic.wrong_arguments.runTest) ... ok
runTest (test_bash_linux_only.bash_exit_before_child.runTest) ... ok
runTest (test_bash_linux_only.bash_ldpreload_multilib.runTest) ... ok
runTest (test_bash_linux_only.bash_sh_shebang.runTest) ... ok
runTest (test_bash.bash_accumulate_changed_data.runTest) ... skipped 'Only for x86'
runTest (test_bash.bash_accumulate_data.runTest) ... ok
runTest (test_bash.bash_can_find_non_executed_scripts.runTest) ... skipped 'Only for x86'
runTest (test_bash.bash_can_find_non_executed_scripts_manually.runTest) ... skipped 'Only for x86'
runTest (test_bash.bash_can_ignore_function_with_spaces.runTest) ... ok
runTest (test_bash.bash_can_ignore_non_executed_scripts.runTest) ... ok
runTest (test_bash.bash_coverage.runTest) ... ok
runTest (test_bash.bash_coverage_debug_trap.runTest) ... ok
runTest (test_bash.bash_coverage_tricky.runTest) ... ok
runTest (test_bash.bash_dollar_var_replacement.runTest) ... ok
runTest (test_bash.bash_done_eof.runTest) ... ok
runTest (test_bash.bash_drain_stdout_without_return.runTest) ... skipped 'Only for x86'
runTest (test_bash.bash_eof_backtick.runTest) ... ok
runTest (test_bash.bash_exit_status.runTest) ... ok
runTest (test_bash.bash_handle_all_output.runTest) ... ok
runTest (test_bash.bash_heredoc_backslashes.runTest) ... ok
runTest (test_bash.bash_heredoc_special_cases_issue_44.runTest) ... ok
runTest (test_bash.bash_honor_signal.runTest) ... ok
runTest (test_bash.bash_ignore_uncovered.runTest) ... ok
runTest (test_bash.bash_issue_116_arithmetic_and_heredoc_issue_117_comment_within_string.runTest) ... ok
runTest (test_bash.bash_merge_data_issue_38.runTest) ... ok
runTest (test_bash.bash_multiline_backslashes.runTest) ... ok
runTest (test_bash.bash_multiline_quotes.runTest) ... ok
runTest (test_bash.bash_no_executed_lines.runTest) ... ok
runTest (test_bash.bash_non_empty_braces.runTest) ... ok
runTest (test_bash.bash_short_file.runTest) ... ok
runTest (test_bash.bash_stderr_redirection.runTest) ... ok
runTest (test_bash.bash_subshell.runTest) ... ok
runTest (test_filter.include_exclude_pattern.runTest) ... ok
runTest (test_filter.include_path.runTest) ... ok
runTest (test_filter.include_path_and_exclude_pattern.runTest) ... ok

----------------------------------------------------------------------
Ran 37 tests in 9.177s

OK (skipped=4, expected failures=1)

CC @karcherm @thesamesam @koachan @andreas-gaisler

@SimonKagstrom
Copy link
Owner

Neat and nice! Haven't used SPARCs since the 1990s, via Solaris and NetBSD :-)

Care to update the readme as well, to add it to the supported architectures?

@glaubitz
Copy link
Contributor Author

glaubitz commented Nov 8, 2025

Neat and nice! Haven't used SPARCs since the 1990s, via Solaris and NetBSD :-)

Oracle actually still sells those and ESA sends them into space (SPARC Leon).

Care to update the readme as well, to add it to the supported architectures?

Sure. Second.

@glaubitz
Copy link
Contributor Author

glaubitz commented Nov 8, 2025

Do you mean the ChangeLog? I'm not seeing any mention of architecture support in README.md.

@SimonKagstrom
Copy link
Owner

You're right, I misremembered. Merged, thanks!

@SimonKagstrom SimonKagstrom merged commit de7b207 into SimonKagstrom:master Nov 8, 2025
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing architecture support for SPARC

2 participants