octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [octave-forge] (parallel) request help for testing at Windows


From: Markus Mützel
Subject: Re: [octave-forge] (parallel) request help for testing at Windows
Date: Sat, 30 Nov 2019 23:02:46 +0100

Am 30. November 2019 um 21:19 Uhr schrieb "Olaf Till"
> At least we are one step further, the child process at least started
> (and then exited with an error).
>
> I may have to let 'pkg load ...' called on the commandline of the
> child process, but for now, could you insert a:
>
> pkg load parallel
>
> into your '.octaverc' file and re-run the test? The file may be named
> slightly differently on Windows...
>
> > could not load variable
> > error: could not initialize function handle
> >
>
> These errors won't probably disappear by this, though...

That seems to have done the trick:

>> test("__test_rfeval__.cc", "verbose")
>>>>> D:\Repositories\Octave\of-parallel\src\__test_rfeval__.cc
***** test
 __test_rfeval__ (@ (x) sqrt (x), 1, @ (info, x) info.message);
 assert (__test_rfeval__ (9, 1, @ (info, x) info.message){1}, 3);
 assert (iscellstr (__test_rfeval__ ("a", 1, @ (info, x) info.message)));
error: sqrt: argument must be numeric
***** test
 __test_rfeval__ (@ (x) sqrt (x), 1, 1);
 assert (__test_rfeval__ (9, 1, 1){1}, 3);
 assert (__test_rfeval__ ("a", 1, 1), int32 (-1));
error: sqrt: argument must be numeric
PASSES 2 out of 2 tests
>>

Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]