Skip to content

PowerShell script BuildTestReleaseMATLAB throws an error #180

@lmalenfant

Description

@lmalenfant

Describe the bug
I cloned a clean VTS copy and selected the master branch updated on Oct 2, 2024. When I used ./BuildTestReleaseMATLAB, the MATLAB release generation was stopped after opening the MATLAB. The MATLAB error was
Running unit tests for Monte Carlo simulations...
Unable to resolve the name 'Vts.MonteCarlo.Detectors.ROfRhoDetectorInput'.

Error in DetectorInput.ROfRho (line 175)
sampleInput = Vts.MonteCarlo.Detectors.ROfRhoDetectorInput;

Error in mc_tests (line 5)
si = SimulationInput();

Error in vts_tests (line 10)
mc_tests();

However, when I checked an earlier date (Sep 17,2024 Merge pull request #171...), I was able to generate a MATLAB release without any problems.

Application (MCCL, MATLAB or VTS code):
MATLAB

To Reproduce
Steps to reproduce the behavior:

  1. Clone the VTS
  2. In the VTS folder select the file BuildTestReleaseMATLAB.ps1
  3. Right-click and select Run with PowerShell
  4. See error

Expected behavior
The MATLAB tests should run and a zip file is created

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions