Skip to content

Handle slash in pkl_test target name#114

Merged
srueg merged 1 commit intoapple:mainfrom
gordonbondon:pkl_test_handle_slash
Nov 3, 2025
Merged

Handle slash in pkl_test target name#114
srueg merged 1 commit intoapple:mainfrom
gordonbondon:pkl_test_handle_slash

Conversation

@gordonbondon
Copy link
Copy Markdown
Contributor

pkl_test_suite produces tests with / in target name, which previously was causing errors like:

An unexpected error has occurred. Would you mind filing a bug report?
     
     java.io.FileNotFoundException: mpackage/path/work/target/name/with_slash_test.xml (No such file or directory)
     	at java.base/java.io.FileOutputStream.open0(Native Method)
     	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:289)
     	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:230)
     	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:179)
     	at java.base/java.io.FileWriter.<init>(FileWriter.java:179)
     	at org.pkl.core.stdlib.test.report.TestReport.summarizeToPath(TestReport.java:52)

@srueg srueg merged commit a291495 into apple:main Nov 3, 2025
2 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.

2 participants