[Omake] SVN Commit: OMake Build System (Rev. 11085)
Jason Hickey
jyh at cs.caltech.edu
Mon Jun 25 08:31:05 PDT 2007
Strange, let me take a look. A thought that may or may not be related,
- Running cd does not actually issue a system call yet.
The directory is handled differently on Win32 and Unix
- On Win32 the starting dir is passed to CreateProcess
- On Unix, the sequence is fork->chdir->exec
Jason
On Jun 22, 2007, at 4:38 PM, Aleksey Nogin wrote:
> On 22.06.2007 15:53, Aleksey Nogin wrote:
>
>> Trying to get at least some of the tests to run under Windows.
>> For some reason, the "cd $(subtest)" in the runtest function does
>> not have any effect!
> Jason,
>
> Any idea what might be causing this? It acts the same in .4 and .x
> and in this case results in tests blocking (it tries to run a test
> from the parent directory of the test instead of the test dir,
> which tries to lock the root OMake project, which, of course,
> causes a deadlock).
>
> Actually, this is reproducible under Linux as well (and I have no
> idea why this does not cause tests to fail on Linux!). Running osh
> with the above sctipt
>
> x(foo) =
> cd src
> pwd
>
> Shell. +=
> foo(argv) =
> cd src
> pwd
> x(5)
>
> foo 10
> x(10)
>
> prints the root dir twice (from "foo 10") and only the "x(10)"
> prints the src subdir! Again, this is the same with .4 and the
> latest .x...
>
> Aleksey
> _______________________________________________
> OMake-Devel mailing list
> OMake-Devel at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake-devel
--
Jason Hickey http://www.cs.caltech.edu/~jyh
Caltech Computer Science Tel: 626-395-6568 FAX: 626-792-4257
More information about the OMake-Devel
mailing list