From f3eeb3f921edb1d70e751eb6262e3e87f9b1e806 Mon Sep 17 00:00:00 2001 From: Euan Date: Fri, 24 Apr 2020 13:30:41 +0100 Subject: [PATCH] Fix #14088 and #14089 on NetBSD (#14104) * Set path to libSDL for NetBSD. * Disable SFML test on NetBSD --- tests/niminaction/Chapter8/sdl/sdl.nim | 2 +- tests/niminaction/Chapter8/sfml/sfml_test.nim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/niminaction/Chapter8/sdl/sdl.nim b/tests/niminaction/Chapter8/sdl/sdl.nim index 14fa59c85..7ba154cae 100644 --- a/tests/niminaction/Chapter8/sdl/sdl.nim +++ b/tests/niminaction/Chapter8/sdl/sdl.nim @@ -1,6 +1,6 @@ when defined(Windows): const libName* = "SDL2.dll" -elif defined(Linux) or defined(freebsd): +elif defined(Linux) or defined(freebsd) or defined(netbsd): const libName* = "libSDL2.so" elif defined(MacOsX): const libName* = "libSDL2.dylib" diff --git a/tests/niminaction/Chapter8/sfml/sfml_test.nim b/tests/niminaction/Chapter8/sfml/sfml_test.nim index 5280196c2..cdd5be776 100644 --- a/tests/niminaction/Chapter8/sfml/sfml_test.nim +++ b/tests/niminaction/Chapter8/sfml/sfml_test.nim @@ -3,6 +3,7 @@ action: compile disabled: "windows" disabled: "freebsd" disabled: "openbsd" +disabled: "netbsd" """ import sfml, os