Unverified Commit a2e829d7 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

rocmPackages.rocprof-trace-decoder: vendor PR to fix missing test dep (#496978)

parents cb0707ec 7eea507b
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {

  patches = [
    ./use-system-dependencies.patch
    # https://github.com/ROCm/rocm-systems/pull/3800
    ./fix-test-dependency.patch
  ];

  strictDeps = true;
@@ -59,11 +61,9 @@ stdenv.mkDerivation (finalAttrs: {

  checkPhase =
    let
      # - Sanitize tests fail because the UBSan runtime (__ubsan_vptr_type_cache) is not available for
      # Sanitize tests fail because the UBSan runtime (__ubsan_vptr_type_cache) is not available for
      # LD_PRELOAD in the sandbox.
      # - Validate tests fail because they depend on execute tests producing output files first, but
      #   CTest runs them concurrently without proper ordering.
      skipPattern = "_(sanitize|validate)$";
      skipPattern = "_sanitize$";
    in
    ''
      runHook preCheck
+15 −0
Original line number Diff line number Diff line
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a923cadce53..95a4d3a807f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -186,7 +186,9 @@ if(BUILD_INTEGRATION_TESTS)
                            WORKING_DIRECTORY
                            ${TEST_BIN_DIR}
                            FIXTURES_REQUIRED
-                           unpack_data)
+                           unpack_data
+                           DEPENDS
+                           ${DATA}_execute)
         endif()
     endforeach(DATA)
 endif()