From 627046d849b080fbdb3872eb332fb7aaa9efe45e Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 23 Nov 2020 11:51:39 -0800 Subject: [PATCH] test: repair Autodiff/validation-test/optional-property on Win32 The test relies on the module name being `null`. This is implied by the `-o /dev/null`. However, that is not guaranteed. Explicitly use the desired module name. --- test/AutoDiff/validation-test/optional-property.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/AutoDiff/validation-test/optional-property.swift b/test/AutoDiff/validation-test/optional-property.swift index 000433ffaf96c..fadd93b26e807 100644 --- a/test/AutoDiff/validation-test/optional-property.swift +++ b/test/AutoDiff/validation-test/optional-property.swift @@ -1,5 +1,5 @@ // RUN: %target-run-simple-swift -// RUN: %target-swift-emit-sil -Xllvm -debug-only=differentiation -o /dev/null 2>&1 %s | %FileCheck %s +// RUN: %target-swift-emit-sil -Xllvm -debug-only=differentiation -module-name null -o /dev/null 2>&1 %s | %FileCheck %s // REQUIRES: executable_test // REQUIRES: asserts