Files
swift-mirror/validation-test/test-runner/NonZeroExitCodeIsFailure.swift
Arnold Schwaighofer 7e4ce9a575 Codesign more tests
2018-08-10 06:58:40 -07:00

19 lines
349 B
Swift

// RUN: %target-build-swift -module-name a %s -o %t.out
// RUN: %target-codesign %t.out
// RUN: %target-run %t.out
// REQUIRES: executable_test
// This test isn't temporarily disabled; it actually should terminate with a
// non-zero exit code.
//
// XFAIL: *
//
// Check that non-zero exit code counts as test failure.
//
import Darwin
exit(1)