summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorEuan <euantorano@users.noreply.github.com>2020-04-24 13:30:41 +0100
committerGitHub <noreply@github.com>2020-04-24 14:30:41 +0200
commitf3eeb3f921edb1d70e751eb6262e3e87f9b1e806 (patch)
treeb160f2c29e8a4e85f37e46da8a4a70b013ce9455 /tests
parent706de1a56682b751e479b354751d4ad77b1e21d2 (diff)
downloadNim-f3eeb3f921edb1d70e751eb6262e3e87f9b1e806.tar.gz
Fix #14088 and #14089 on NetBSD (#14104)
* Set path to libSDL for NetBSD.

* Disable SFML test on NetBSD
Diffstat (limited to 'tests')
-rw-r--r--tests/niminaction/Chapter8/sdl/sdl.nim2
-rw-r--r--tests/niminaction/Chapter8/sfml/sfml_test.nim1
2 files changed, 2 insertions, 1 deletions
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