Skip to content

Commit

Permalink
[E2E] Modify commands to address running on Windows. (#13682)
Browse files Browse the repository at this point in the history
Running the test on Windows failed due to missing support of `ls`.
Replacing `ls` with `cat` made the test pass on Windows.
  • Loading branch information
mmoadeli authored Jun 12, 2024
1 parent 1460126 commit bd33aaf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sycl/test-e2e/Config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
//
//===----------------------------------------------------------------------===//
// RUN: %{build} %debug_option -O0 -o %t.out
// RUN: echo "SYCL_PRINT_EXECUTION_GRAPH=always" > %t.cfg
// RUN: echo SYCL_PRINT_EXECUTION_GRAPH=always > %t.cfg
// RUN: env SYCL_CONFIG_FILE_NAME=%t.cfg %t.out
// RUN: ls | grep dot
// RUN: cat *.dot > /dev/null
// RUN: rm *.dot
// RUN: env SYCL_PRINT_EXECUTION_GRAPH=always %t.out
// RUN: ls | grep dot
// RUN: cat *.dot > /dev/null
// RUN: rm *.dot
// RUN: %t.out
// RUN: ls | not grep dot
// RUN: not cat *.dot > /dev/null

#include <sycl/detail/core.hpp>

Expand Down

0 comments on commit bd33aaf

Please sign in to comment.