mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-01 09:10:18 -06:00
* Add new Lua functions to request profile names. Next version of the wizard * Replacecurrently existing tests
Description
This script validates all* assets files by loading them one at a time into an empty scene in OpenSpace. The assets are loaded from scratch and then from cache and any errors are logged.
Setup
The project provides a requirements.txt with the necessary dependencies. Install using e.g., pip pip install -r /path/to/requirements.txt
Running validation tests
| Parameter | Description |
|---|---|
--dir |
Points to the base folder of the OpenSpace version that is used to execute the validation. There needs to be a compiled version of OpenSpace available in the folder such that bin/RelWithDebInfo/OpenSpace.exe(on Windows) or bin/OpenSpace (on Linux) exists and is executable. |
--filter |
Regex string to filter the assets to validate |
--verbose |
If set to True output messages will also be printed to the console. |
Example `python main.py --dir "C:/Development/OpenSpace" --filter "examples/*"