[Issue 3420] Impossible to specify -J path for subdirectories

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 30 16:51:47 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3420



--- Comment #7 from Leandro Lucarella <llucax at gmail.com> 2009-11-30 16:51:47 PST ---
Created an attachment (id=521)
Test cases

Here are some test cases, they are packed in a tarball because it includes a
directory structure.

Tests are in the directory d2, and they should be compiled in that directory.
The tests have a small comment indicating what -J should be used to compile
(other -J options should fail).

You can test them all with this simple bash script (run it in the d2
directory):
for f in test{1..7}.d
do
    for j in . ..
    do
        echo -n "$f: "; head -n1 $f
        dmd -J$j $f && ./`basename $f .d`
    done
done

You have to go through the results and check them visually, the script can be
improve to make the verification automatically.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list