You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different test files are conditionally compiled based on the build configuration:
33
33
34
-
**Static Build Only (`BUILD_STATIC` or non-Windows):**
34
+
**Static Builds (All Platforms) OR Dynamic Builds (Linux Only):**
35
35
-`driver_ordering_unit_tests.cpp`
36
36
-`driver_teardown_unit_tests.cpp`
37
37
@@ -59,6 +59,11 @@ CTest automatically sets up the required environment variables, working director
59
59
60
60
**Before running CTest, you must set the `ZEL_LIBRARY_PATH` environment variable** to point to where the loader libraries and null drivers are located. This ensures tests can find the required libraries at runtime.
61
61
62
+
**Why `ZEL_LIBRARY_PATH`?**
63
+
-**Targeted scope**: Only affects the Level Zero loader's library search path, not the entire system
64
+
-**Cross-platform**: Works consistently across Linux, Windows, and macOS
65
+
-**Preferred over `LD_LIBRARY_PATH`** (Linux) or `PATH` (Windows) which have broader system-wide effects
0 commit comments