On 1 Mar 2011, at 11:15, Niels Grewe wrote: > Hello all, > > I've just tried to run the testsuites on a system that has non-flattened > namespaces enabled and it turns out that causes a little problem. The > build_and_run() function in gnustep-tests expects to find the > executables in $testdir/obj, whereas with a non-flattened install they > are in $testdir/obj/$GNUSTEP_TARGET_LDIR/, where $GNUSTEP_TARGET_LDIR is > some combination of architecture, os and runtime-library combination. > (e.g. x86_64/linux-gnu/gnu-gnu-gnu/ on my machine). > Initially I thought that this could be easily fixed, but it turns out > that $GNUSTEP_TARGET_LDIR is only defined in makefiles and I don't see > how I can get at that variable from a shell script. Could somebody > perhaps help me out here?
I've modified the code so that it should override the destination and always place executables in the obj subdirectory even on a non-flattened layout. Within the testsuite we clean old test information and rebuild each file on every test run, so there's no point keeping binaries for different architectures/library combos in separate subdirectories. Hopefully, the trick of overriding GNUSTEP_OBJ_DIR will let us keep the executables in a single location, while allowing your non-flattened structure to be used elsewhere outside the test framework. Please let me know if this works or not. _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
