Skip to content

Commit

Permalink
Remove headless
Browse files Browse the repository at this point in the history
  • Loading branch information
beau-lunarg committed Jan 24, 2025
1 parent c2b4269 commit b80db1f
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 5 deletions.
Binary file added test/known_good/multisample-depth_windows.gfxr
Binary file not shown.
Binary file added test/known_good/pipeline-binaries_windows.gfxr
Binary file not shown.
Binary file added test/known_good/shader-objects_windows.gfxr
Binary file not shown.
Binary file added test/known_good/triangle_windows.gfxr
Binary file not shown.
2 changes: 1 addition & 1 deletion test/run-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $env:VK_LOADER_LAYERS_DISABLE="~all~"
$env:VK_LOADER_LAYERS_ENABLE="*gfxreconstruct*"
$env:GFXRECON_CAPTURE_FILE_TIMESTAMP="false"
$env:GFXRECON_CAPTURE_FILE="actual.gfxr"
$env:GFXRECON_TESTAPP_HEADLESS="true"
#$env:GFXRECON_TESTAPP_HEADLESS="true"
$env:GFXRECON_TESTAPP_MOCK_ICD="$pwd\test_apps\VkICD_mock_icd.dll"
$env:GFXRECON_LOG_LEVEL="info"
$env:VK_LOADER_DEBUG="all"
Expand Down
5 changes: 3 additions & 2 deletions test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ GFXRECON_CAPTURE_FILE=actual.gfxr \
VK_LOADER_LAYERS_DISABLE=~all~ \
VK_LOADER_LAYERS_ENABLE=*gfxreconstruct* \
DISPLAY=:0 \
GFXRECON_TESTAPP_HEADLESS=true \
GFXRECON_TESTAPP_MOCK_ICD="$PWD/test_apps/libVkICD_mock_icd.so" \
GFXRECON_LOG_LEVEL="info" \
VK_LOADER_DEBUG="all" \
./gfxrecon-testapp-runner
./gfxrecon-testapp-runner

#GFXRECON_TESTAPP_HEADLESS=true \
5 changes: 3 additions & 2 deletions test/run-tests_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ GFXRECON_CAPTURE_FILE=actual.gfxr \
VK_LOADER_LAYERS_DISABLE=~implicit~ \
VK_LOADER_LAYERS_ENABLE=VK_LAYER_LUNARG_gfxreconstruct \
DISPLAY=:0 \
GFXRECON_TESTAPP_HEADLESS=true \
GFXRECON_TESTAPP_MOCK_ICD="$PWD/test_apps/libVkICD_mock_icd.dylib" \
GFXRECON_LOG_LEVEL="info" \
VK_LOADER_DEBUG="layer" \
./gfxrecon-testapp-runner
./gfxrecon-testapp-runner

#GFXRECON_TESTAPP_HEADLESS=true \
2 changes: 2 additions & 0 deletions test/test_cases/multisample-depth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ char const* const APP_PATH = "gfxrecon-testapp-multisample-depth";

#ifdef __APPLE__
char const* const KNOWN_GFXR_PATH = "multisample-depth_macos.gfxr";
#elif WIN32
char const* const KNOWN_GFXR_PATH = "multisample-depth_windows.gfxr";
#else
char const* const KNOWN_GFXR_PATH = "multisample-depth.gfxr";
#endif
Expand Down
2 changes: 2 additions & 0 deletions test/test_cases/pipeline-binaries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ char const* const APP_PATH = "gfxrecon-testapp-pipeline-binaries";

#ifdef __APPLE__
char const* const KNOWN_GFXR_PATH = "pipeline-binaries_macos.gfxr";
#elif WIN32
char const* const KNOWN_GFXR_PATH = "pipeline-binaries_windows.gfxr";
#else
char const* const KNOWN_GFXR_PATH = "pipeline-binaries.gfxr";
#endif
Expand Down
2 changes: 2 additions & 0 deletions test/test_cases/shader-objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ char const* const APP_PATH = "gfxrecon-testapp-shader-objects";

#ifdef __APPLE__
char const* const KNOWN_GFXR_PATH = "shader-objects_macos.gfxr";
#elif WIN32
char const* const KNOWN_GFXR_PATH = "shader-objects_windows.gfxr";
#else
char const* const KNOWN_GFXR_PATH = "shader-objects.gfxr";
#endif
Expand Down
2 changes: 2 additions & 0 deletions test/test_cases/triangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ char const* const APP_PATH = "gfxrecon-testapp-triangle";

#ifdef __APPLE__
char const* const KNOWN_GFXR_PATH = "triangle_macos.gfxr";
#elif WIN32
char const* const KNOWN_GFXR_PATH = "triangle_windows.gfxr";
#else
char const* const KNOWN_GFXR_PATH = "triangle.gfxr";
#endif
Expand Down

0 comments on commit b80db1f

Please sign in to comment.