Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should update the archetype to the latex changes #599

Open
Ducasse opened this issue Jul 19, 2024 · 1 comment
Open

Should update the archetype to the latex changes #599

Ducasse opened this issue Jul 19, 2024 · 1 comment

Comments

@Ducasse
Copy link
Contributor

Ducasse commented Jul 19, 2024

Since latex changes in a non compatible way.
The build is broken for certain archetype.

We should get inspired from the Spec2 book setup (or the VM) and fix the archetype.

@Ducasse
Copy link
Contributor Author

Ducasse commented Jul 19, 2024

May be I should skip these tests for now.

#########################
# 6 tests did not pass: #
#########################

PRIntegrationTest
 ✗ #testPresentationAscii (71ms)
Error: Archetype presentation does not exist
PRArchetype(Object)>>error:
PRArchetype>>validateExists
PRProject>>installArchetypeNamed:
PRIntegrationTest>>testArchetype:output: ...installArchetypeNamed: archetype
PRIntegrationTest>>testPresentationAscii ...testArchetype: self archetypePresentation output: self outputAscii
PRIntegrationTest(TestCase)>>performTest
 ✗ #testWelcomePdf (10119ms)
TestTookTooMuchTime
Process>>pvtSignal:list:
OSSUnixSubprocess>>waitForExit
OSSUnixSubprocess>>runAndWait
PRPDFDocument>>executeOnUnixCommand:arguments:workingDirectory:
PRPDFDocument>>executeCommand:arguments:workingDirectory:
PRPDFDocument>>postWriteTransform:
PRPDFDocument(PRAbstractOutputDocument)>>buildOn:
[ :each |
		each file exists ifTrue: [ 
			status := status and: ((self documentFor: each) buildOn: aProject) ]
		"I do not know how to report if a file does not exist. 
		May be producing a failure is not adequate."
	] in PRPdfOutput(PRTarget)>>buildOn:
Array(SequenceableCollection)>>do:
PRPdfOutput(PRTarget)>>buildOn:
PRProject>>build:
PRIntegrationTest>>testArchetype:output: ...build: output
PRIntegrationTest>>testWelcomePdf ...testArchetype: self archetypeWelcome output: self outputPdf
PRIntegrationTest(TestCase)>>performTest
 ✗ #testPresentationPdf (52ms)
Error: Archetype presentation does not exist
PRArchetype(Object)>>error:
PRArchetype>>validateExists
PRProject>>installArchetypeNamed:
PRIntegrationTest>>testArchetype:output: ...installArchetypeNamed: archetype
PRIntegrationTest>>testPresentationPdf ...testArchetype: self archetypePresentation output: self outputPdf
PRIntegrationTest(TestCase)>>performTest
 ✗ #testBookPdf (2047ms)
Error: command latexmk failed
PRPDFDocument(Object)>>error:
PRPDFDocument>>executeOnUnixCommand:arguments:workingDirectory:
PRPDFDocument>>executeCommand:arguments:workingDirectory:
PRPDFDocument>>postWriteTransform:
PRPDFDocument(PRAbstractOutputDocument)>>buildOn:
[ :each |
		each file exists ifTrue: [ 
			status := status and: ((self documentFor: each) buildOn: aProject) ]
		"I do not know how to report if a file does not exist. 
		May be producing a failure is not adequate."
	] in PRPdfOutput(PRTarget)>>buildOn:
Array(SequenceableCollection)>>do:
PRPdfOutput(PRTarget)>>buildOn:
PRProject>>build:
PRIntegrationTest>>testArchetype:output: ...build: output
PRIntegrationTest>>testBookPdf ...testArchetype: self archetypeBook output: self outputPdf
PRIntegrationTest(TestCase)>>performTest
 ✗ #testPresentationHtml (44ms)
Error: Archetype presentation does not exist
PRArchetype(Object)>>error:
PRArchetype>>validateExists
PRProject>>installArchetypeNamed:
PRIntegrationTest>>testArchetype:output: ...installArchetypeNamed: archetype
PRIntegrationTest>>testPresentationHtml ...testArchetype: self archetypePresentation output: self outputHtml
PRIntegrationTest(TestCase)>>performTest
 ✗ #testPresentationMarkdown (41ms)
Error: Archetype presentation does not exist
PRArchetype(Object)>>error:
PRArchetype>>validateExists
PRProject>>installArchetypeNamed:
PRIntegrationTest>>testArchetype:output: ...installArchetypeNamed: archetype
PRIntegrationTest>>testPresentationMarkdown ...testArchetype: self archetypePresentation output: self outputMarkdown
PRIntegrationTest(TestCase)>>performTest


###########
# Summary #
###########

PRIntegrationTest
 ✗ #testPresentationAscii (71ms)
 ✗ #testWelcomePdf (10119ms)
 ✗ #testPresentationPdf (52ms)
 ✗ #testBookPdf (2047ms)
 ✗ #testPresentationHtml (44ms)
 ✗ #testPresentationMarkdown (41ms)

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

No branches or pull requests

1 participant