Skip to content

[SYCL] Fix true missing on Windows #4211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

alexbatashev
Copy link
Contributor

Switch to echo instead of Unix-specific true

Switch to `echo` instead of Unix-specific `true`
@alexbatashev alexbatashev requested a review from a team as a code owner July 29, 2021 06:53
@steffenlarsen
Copy link
Contributor

Will something similar be feasible for the test suite?

@alexbatashev
Copy link
Contributor Author

Will something similar be feasible for the test suite?

Working on that, however there's a bit more than just true for test suite. I believe some tests also use cat or ls.

@alexbatashev
Copy link
Contributor Author

@steffenlarsen would you please try intel/llvm-test-suite#383? Should fix your issue.

Comment on lines +194 to +195
cpu_run_substitute = "echo "
cpu_run_on_linux_substitute = "echo "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are arguments optional for echo on both windows and linux?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're not, but a) I didn't find the case when we have no args b) both can accept more than 1 argument

@bader bader merged commit a98fd64 into intel:sycl Jul 30, 2021
zahiraam pushed a commit to zahiraam/llvm-1 that referenced this pull request Aug 2, 2021
Switch to `echo` instead of Unix-specific `true`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants