From: Ross Burton Date: Fri, 6 Feb 2026 14:57:13 +0000 (+0000) Subject: oeqa/selftest/reproducible: clean up formatting in a long command line X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=399ef1c3a93d09a42b6047e57cb4d0abb2f42ea5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/reproducible: clean up formatting in a long command line No code changes, just formatting. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index f06027cb03..bad17cc40b 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -98,11 +98,15 @@ def compare_file(reference, test, diffutils_sysroot): return result def run_diffoscope(a_dir, b_dir, html_dir, max_report_size=0, max_diff_block_lines=1024, max_diff_block_lines_saved=0, **kwargs): - return runCmd(['diffoscope', '--no-default-limits', '--max-report-size', str(max_report_size), - '--max-diff-block-lines-saved', str(max_diff_block_lines_saved), - '--max-diff-block-lines', str(max_diff_block_lines), - '--exclude-directory-metadata', 'yes', '--html-dir', html_dir, a_dir, b_dir], - **kwargs) + cmd = ['diffoscope', + '--no-default-limits', + '--max-report-size', str(max_report_size), + '--max-diff-block-lines-saved', str(max_diff_block_lines_saved), + '--max-diff-block-lines', str(max_diff_block_lines), + '--exclude-directory-metadata', 'yes', + '--html-dir', html_dir, + a_dir, b_dir] + return runCmd(cmd, **kwargs) class DiffoscopeTests(OESelftestTestCase): diffoscope_test_files = os.path.join(os.path.dirname(os.path.abspath(__file__)), "diffoscope")