public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Specifying parent load path
@ 2023-10-03  7:23 Panicz Maciej Godek
  0 siblings, 0 replies; only message in thread
From: Panicz Maciej Godek @ 2023-10-03  7:23 UTC (permalink / raw)
  To: kawa

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

I recently decided to clean up the GRASP repository a bit. Previously, all
the modules were piled in a single 'src/' directory, but I'm splitting it
into a few different directories.

Among those files, there were some tests included. They were essentially
stand-alone programs, but I thought it would be nice to move them all into
'src/tests/' directory.

The only problem is that once I do that, they no longer see their
dependency modules.

I tried adding
-Dkawa.include.path="|:`pwd`/src"
and
-Dkawa.include.path="|:.."
to the test runner, but none of it helped.

Here's the implementation of the test runner:
https://github.com/panicz/grasp/blob/main/run-tests

Is it possible to hint Kawa to look for modules in the file's parent
directory?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-03  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03  7:23 Specifying parent load path Panicz Maciej Godek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).