packages/cultmath/scripts/unity-smoke/ holds the good compute shader, the deliberately broken control, the EditMode test (FindKernel, dispatch, readback), and run-unity-smoke.ps1, which builds a scratch project outside the repo with a file: path to the package, takes the Unity path as a parameter, requires all three tests to pass, and deletes the project. The package README's Unity section names it as the pre-tag step. Not -nographics: GetComputeShaderMessageCount reports 0 for a broken shader until FindKernel or Dispatch compiles it. Ran once on Starfire with Unity 6000.3.24f1: 3 passed, control rejected. Builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
454 B
Text
14 lines
454 B
Text
{
|
|
"name": "CultMath.Smoke.Tests",
|
|
"rootNamespace": "",
|
|
"references": [ "UnityEngine.TestRunner", "UnityEditor.TestRunner" ],
|
|
"includePlatforms": [ "Editor" ],
|
|
"excludePlatforms": [],
|
|
"allowUnsafeCode": false,
|
|
"overrideReferences": true,
|
|
"precompiledReferences": [ "nunit.framework.dll", "CultMath.dll" ],
|
|
"autoReferenced": false,
|
|
"defineConstraints": [ "UNITY_INCLUDE_TESTS" ],
|
|
"versionDefines": [],
|
|
"noEngineReferences": false
|
|
}
|