summary refs log tree commit diff stats
path: root/tests/manyloc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-05-31 03:04:36 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-05-31 03:04:45 +0200
commit893be3a5a40cbbceb211efe47361632ccdbed227 (patch)
treefc7d1eae670fd6703b06022d2d836a6b40f68c75 /tests/manyloc
parent1e5926458c2d18dec3389d00f41680518fb939c0 (diff)
downloadNim-893be3a5a40cbbceb211efe47361632ccdbed227.tar.gz
changed the compiler's path handling; fixes #546
Diffstat (limited to 'tests/manyloc')
-rw-r--r--tests/manyloc/keineschweine/lib/vehicles.nim2
-rw-r--r--tests/manyloc/named_argument_bug/main.nim.cfg1
-rw-r--r--tests/manyloc/named_argument_bug/tri_engine/math/circle.nim4
-rw-r--r--tests/manyloc/named_argument_bug/tri_engine/math/vec.nim2
4 files changed, 5 insertions, 4 deletions
diff --git a/tests/manyloc/keineschweine/lib/vehicles.nim b/tests/manyloc/keineschweine/lib/vehicles.nim
index 94ebf9f57..ddfb43b38 100644
--- a/tests/manyloc/keineschweine/lib/vehicles.nim
+++ b/tests/manyloc/keineschweine/lib/vehicles.nim
@@ -1,6 +1,6 @@
 import
   sfml, chipmunk,
-  sg_assets, sfml_stuff, keineschweine
+  sg_assets, sfml_stuff, "../keineschweine"
 
 
 proc accel*(obj: PVehicle, dt: float) =
diff --git a/tests/manyloc/named_argument_bug/main.nim.cfg b/tests/manyloc/named_argument_bug/main.nim.cfg
index 27cf8e688..7df7a0e97 100644
--- a/tests/manyloc/named_argument_bug/main.nim.cfg
+++ b/tests/manyloc/named_argument_bug/main.nim.cfg
@@ -1,2 +1,3 @@
 # this file only exists to mark 'main.nim' as the main file
 
+--path:"$projectpath"
diff --git a/tests/manyloc/named_argument_bug/tri_engine/math/circle.nim b/tests/manyloc/named_argument_bug/tri_engine/math/circle.nim
index 7e7517998..b95cfa379 100644
--- a/tests/manyloc/named_argument_bug/tri_engine/math/circle.nim
+++ b/tests/manyloc/named_argument_bug/tri_engine/math/circle.nim
@@ -1,6 +1,6 @@
 import
-  tri_engine/config,
-  tri_engine/math/vec
+  ../config,
+  vec
 
 type
   TCircle* = tuple[p: TV2[TR], r: TR]
diff --git a/tests/manyloc/named_argument_bug/tri_engine/math/vec.nim b/tests/manyloc/named_argument_bug/tri_engine/math/vec.nim
index 3b57acb8e..926958fe4 100644
--- a/tests/manyloc/named_argument_bug/tri_engine/math/vec.nim
+++ b/tests/manyloc/named_argument_bug/tri_engine/math/vec.nim
@@ -1,6 +1,6 @@
 import
   macros,
-  tri_engine/config
+  "../config"
 
 type
   TV2*[T:SomeNumber=TR] = array[0..1, T]