diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2023-04-14 00:00:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-14 00:00:56 +0800 |
| commit | 59a603593f06ca2935a376b17a91ec42657f1ef8 (patch) | |
| tree | 16147c6952e526c536597c816bf7ccc4f40f94cd /tools | |
| parent | c7e5601bb67d2a5ebadb7f84c6968b5912e7566d (diff) | |
Set the executable bit on Executable artifact files (#2796)
* Set the executable bit on Executable artifact files
* Don't zero out other permission bits in makeExecutable
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/slang-test/slang-test-main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp index cfd61d97b..4932861b0 100644 --- a/tools/slang-test/slang-test-main.cpp +++ b/tools/slang-test/slang-test-main.cpp @@ -1456,9 +1456,6 @@ static SlangResult _executeBinary(const UnownedStringSlice& hexDump, ExecuteResu const auto fileName = fileRep->getPath(); - // Make executable... (for linux/unix like targets) - SLANG_RETURN_ON_FAIL(File::makeExecutable(fileName)); - // Execute it ExecutableLocation exe; exe.setPath(fileName); @@ -1666,8 +1663,6 @@ TestResult runExecutableTest(TestContext* context, TestInput& input) cmdLine.setExecutableLocation(exe); - File::makeExecutable(moduleExePath); - ExecuteResult exeRes; if (SLANG_FAILED(ProcessUtil::execute(cmdLine, exeRes))) { |
