From 80963ee509e2d82b68c6e576dde9fb126bc9bcb3 Mon Sep 17 00:00:00 2001 From: Tim <0xTim@users.noreply.github.com> Date: Sun, 20 May 2018 13:16:37 +0100 Subject: [PATCH] Fix command to generate tests on Linux (#8) --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 54f79b8..5d47fbe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,7 +65,7 @@ We require that your commit messages match our template. The easiest way to do t ### Test on Linux -SwiftNIO uses XCTest to run tests on both macOS and Linux. While the macOS version of XCTest is able to use the Objective-C runtime to discover tests at execution time, the Linux version is not. For this reason, whenever you add new tests you will want to run a script that generates the hooks needed to run those tests on Linux, or our CI will complain that the tests are not all present on Linux. To do this, merely execute `ruby generate_linux_tests.rb` at the root of the package and check the changes it made. +SwiftNIO uses XCTest to run tests on both macOS and Linux. While the macOS version of XCTest is able to use the Objective-C runtime to discover tests at execution time, the Linux version is not. For this reason, whenever you add new tests you will want to run a script that generates the hooks needed to run those tests on Linux, or our CI will complain that the tests are not all present on Linux. To do this, merely execute `ruby scripts/generate_linux_tests.rb` at the root of the package and check the changes it made. ## How to contribute your work