ipm icon indicating copy to clipboard operation
ipm copied to clipboard

test <modulename> != <modulename> test

Open timleavitt opened this issue 5 years ago • 2 comments

Specifically, "test" first doesn't allow arbitrary params array arguments with the -D prefix - e.g.:

zpm: VIRTUALSUMMIT>test zpm -only -DUnitTest.ManagerClass=TestCoverage.Manager
 
ERROR #5001: Unknown modifier for command 'test': DUnitTest.ManagerClass=TestCoverage.Manager
zpm: VIRTUALSUMMIT>zpm test -only -DUnitTest.ManagerClass=TestCoverage.Manager
 
[zpm]   Test START
[zpm]   Test FAILURE - ERROR #5002: ObjectScript error: <CLASS DOES NOT EXIST>zOnPhase+47^%ZPM.PackageManager.Developer.Processor.UnitTest.1 *TestCoverage.Manager
<CLASS DOES NOT EXIST>  zOnPhase+47^%ZPM.PackageManager.Developer.Processor.UnitTest.1 TestCoverage.Manager

May be a similar issue with other inversions of the module name and operation.

timleavitt avatar Oct 08 '20 16:10 timleavitt

<command name="module-action" default="true" dataPrefix="D" trailingModifiers="true">

has dataPrefix="D" while any module-action's command

<command name="test">

does not have dataPrefix

I think that dataPrefix="D" should be available by default for any command

daimor avatar Oct 20 '20 13:10 daimor

I don't know about available by default, but that's definitely the root cause.

timleavitt avatar Oct 20 '20 13:10 timleavitt