pillar icon indicating copy to clipboard operation
pillar copied to clipboard

Should update the archetype to the latex changes

Open Ducasse opened this issue 1 year ago • 1 comments

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 avatar Jul 19 '24 14:07 Ducasse

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)

Ducasse avatar Jul 19 '24 14:07 Ducasse