yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06710
Re: TriaxialTest regression tests.
Hi, Bruno,
what about comparing not the whole table, but just 1 or 2 values.
For example, you know, that stress after 100 iteration should be
100MPa, just compare it.
What do you think?
Anton
On Thu, Jan 13, 2011 at 5:36 PM, Bruno Chareyre
<bruno.chareyre@xxxxxxxxxxx> wrote:
>
>>> A path problem...
>>> It works here only because I have the files in data duplicated in
>>> yade/bin.
>>> I'll try and fix that. In the meantime you could move data files in
>>> bin too.
>>> Thanks for reporting!
>> Bruno, you have to include all data in the script itself (including
>> initial sphere positions, and also the results want to check). I don't
>> want to install data files in python modules directories.
>>
> Hi Vaclav,
>
> Thanks for suggestion, but there is no need to install the data files I
> think. Can't I just point to the source path? How does it find the path
> when you type "yade --rebuild"?
> It sounds tedious to include the content of a full wallStress file in
> python script, then write it to a file at check-time in order to gnuplot
> it (I know we can plot with python, but it would need more work in this
> precise case).
>
> Another question is how we can return a result telling if something
> failed? I would just print a "failure/success" string in stdout, but you
> will have better design ideas probably. I tried to make the script
> return a value, but no success yet.
>
> Cheers.
>
> Bruno
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References
-
TriaxialTest regression tests.
From: Anton Gladky, 2010-12-03
-
Re: TriaxialTest regression tests.
From: Václav Šmilauer, 2010-12-03
-
Re: TriaxialTest regression tests.
From: Bruno Chareyre, 2010-12-03
-
Re: TriaxialTest regression tests.
From: Anton Gladky, 2010-12-06
-
Re: TriaxialTest regression tests.
From: Bruno Chareyre, 2010-12-06
-
Re: TriaxialTest regression tests.
From: Anton Gladky, 2010-12-06
-
Re: TriaxialTest regression tests.
From: Bruno Chareyre, 2011-01-07
-
Re: TriaxialTest regression tests.
From: Bruno Chareyre, 2011-01-11
-
Re: TriaxialTest regression tests.
From: Anton Gladky, 2011-01-11
-
Re: TriaxialTest regression tests.
From: Bruno Chareyre, 2011-01-11
-
Re: TriaxialTest regression tests.
From: Václav Šmilauer, 2011-01-12
-
Re: TriaxialTest regression tests.
From: Bruno Chareyre, 2011-01-13