JTDIFF(1)
π NAME π
jtdiff β the Regression Test Harness, bestie!! it diffs ur test results and tells u what changed π¦
β¨ DESCRIPTION β¨
π Usage:
jtdiff options... [directory|file]...
like, that's the whole vibe. options first, then a directory or a file (or several, she's flexible π ).
π Compare Options
these ones change what she's comparing, not just how she says it β¨
-r|-reasonβ pulls the reason string into the comparison too, not just the type (likePassed,Failed, etc.). so if two runs both failed but for different reasons, she'll clock it π-s|-superβ the SUPER-DIFF π€β¨ she goes hunting for result sets buried inside a whole directory hierarchy. and that hierarchy has to be arranged exactly like this:
PATH/PLATFORM/YEAR/DAY_OF_YEAR/TEST_RESULTS
let's break that down bc it matters:
PATHβ given by the single directory argument u pass inPLATFORMβ the name of the platform the tests were run onYEARandDAY_OF_YEARβ numbers identifying when the tests were runTESTSUITE_RESULTSβ a fixed string that identifies where to find the result set in the hierarchy
the default value is "JTreport/text/summary.txt", but bestie u can change that by setting the system property "jtdiff.super.testResults". it can point at any source of results that a standard jtdiff invocation would accept, so go feral π
oh and also β set system property jtdiff.html.compact=true for a more compact output format (yes, the original says "a more output format", we don't question the ancestors π), where symbols replace the actual words:
"pass"β check mark β"fail"β cross β"error"β cross in a circle"not run"β horizontal bar
π Output Options
options to customize the output, bc presentation is everything π«Ά
-format:html|textβ picks the output format. if u don't say anything, she infers it from the extension of the output file. she's observant like that πΈ-o:<file>|-outFile:<file>β the file she writes the results into π-title:<string>β the title to use for the results. give ur diff a little name tag π
π Help Options
options for additional help and information, bc asking for help is main character energy π
-h [words...]|-help [words...]|--help [words...]|-usage [words...]β command line help!! give it some words and it'll show u help info containing those words, or use"-help all"to see every single bit of available help. no secrets, periodt π-versionβ tells u all about which version ofjtdiffu currently have. know ur roots β¨
π Input Files
input files can be any of:
- work directories
- report directories
- or the
summary.txtfiles inside a report directory
and plot twist β jtdiff can also be run with Ant π (not the bug, the build tool, tho honestly? slay either way)
π Where she lives
she's Installed in:
/build/reproducible-path/jtreg8-8.3+1+ds1/build/images/jtreg/lib/jtreg.jar
Running on platform version 21.0.12.1 from:
/usr/lib/jvm/java-21-openjdk-amd64
Built with Java(TM) 2 SDK, Version 21.0.12.1+1-1-deb13u1-De on Fri, 23 Oct 2026 12:27:33 +0200.
π SEE ALSO π
the full documentation for jtdiff is maintained as a Texinfo manual πΏ if the info and jtdiff programs are properly installed at ur site, this command:
info jtdiff
should give u access to the complete manual. so if u want the whole saga, that's where it lives πβ¨
that's the whole page bestie π go forth and diff responsibly!!
β signed off with love, jtdiff version 5.2-src+1, October 2026 ππ¦π
π¦ where this page comes from
- debian trixie: jtreg8 8.3+1+ds1-2~deb13u1 Β· GPL-2.0-only WITH Classpath exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms