@@ -347,7 +347,7 @@ diff <(perl -e 'TEST_CODE') <(./jperl -e 'TEST_CODE')
347
347
1 . ** Identify the exact failing test:**
348
348
``` bash
349
349
# Find which specific test is failing
350
- JPERL_LARGECODE=refactor ./jperl t/op/pack.t 2>&1 | grep -A 3 " ^not ok NUMBER"
350
+ ./jperl t/op/pack.t 2>&1 | grep -A 3 " ^not ok NUMBER"
351
351
```
352
352
353
353
2 . ** Find the test code in the source:**
@@ -399,7 +399,7 @@ diff <(perl -e 'TEST_CODE') <(./jperl -e 'TEST_CODE')
399
399
** Red Flags:**
400
400
- If extraction works but full suite fails → test interaction or state issue
401
401
- If extraction fails differently → you extracted the wrong test
402
- - If extraction passes → file size/compilation issue (e.g., JPERL_LARGECODE)
402
+ - If extraction passes → file size/compilation issue
403
403
404
404
** Template for extraction:**
405
405
``` perl
@@ -428,7 +428,7 @@ print "# Tests completed\n";
428
428
** Remember:**
429
429
- PerlOnJava doesn't cache code between runs (no stale bytecode)
430
430
- Always rebuild after code changes: ` ./gradlew clean shadowJar `
431
- - Use ` JPERL_LARGECODE=refactor ` if original test needed it
431
+ - Use ` git add -a files ` one by one
432
432
433
433
### Technique 5: Test Count Analysis
434
434
** Pattern:** Track test improvements to verify fixes
@@ -1165,7 +1165,6 @@ jq '.results["TESTFILE.t"]' out.json
1165
1165
./jperl t/op/TESTFILE.t 2>&1 | grep -A 3 " ^not ok NUMBER"
1166
1166
1167
1167
# Run with special environment variables
1168
- JPERL_LARGECODE=refactor ./jperl t/op/pack.t # Handle large methods by refactoring blocks
1169
1168
JPERL_UNIMPLEMENTED=warn ./jperl t/op/TESTFILE.t # Warn on unimplemented features instead of dying
1170
1169
```
1171
1170
0 commit comments