Skip to content

Regression Tests - input files are not copied #254

@pschuenemann

Description

@pschuenemann

Hello,

After compiling OpenFAST with Visual Studio, I wanted to test my compiled executable by running the regression tests. Thus, I followed the instructions given in https://openfast.readthedocs.io/en/dev/source/testing/regression_test_windows.html, i.e. I tried to run the test manually by using the python script manualRegressionTest.py. However, all of the test cases failed!

To solve the issue I had a deeper look and found that there is no reg_tests subdirectory in my build directory and thus no input files for the test cases, which I assume is the reason for the failed tests.

I have expected, that this directory and its content is created automatically, when running the script manualRegressionTest.py as it is also described in section 5.2.2. of the documentation at https://openfast.readthedocs.io/en/dev/source/testing/regression_test.html:

In both modes of execution a subdirectory is created in the build directory called reg_tests where all of the input files for the test cases are copied and all of the locally generated outputs are stored.

I also had a look into manualRegressionTest.py, but couldn't find any command that is creating the build/reg_tests directory and its content.

Is that a bug in manualRegressionTest.py or is the documentation just missing some further steps, which I'm not aware of, right now, that has to be done before running manualRegressionTest.py in order to create the build/reg_tests directory beforehand?

Best regards,
Paul

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions