[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting with BIST testing.
From: |
NVS Abhilash |
Subject: |
Re: Starting with BIST testing. |
Date: |
Thu, 20 Oct 2016 01:17:19 -0700 (PDT) |
Mike Miller-4 wrote
> On Tue, Oct 18, 2016 at 20:07:29 -0700, NVS Abhilash wrote:
>> Thanks Mike for your reply. Yes I have built Octave from source, by doing
>> hg
>> clone -> then mkdir .build -> cd .build -> make all -> make check
>>
>> I also looked at other function test cases. I also read documentation
>> about
>> how and why test cases are written.
>>
>> I also wrote some silly test cases for "isinteger". Then I have to
>> 'make',
>> again, then I ran test
> <complete path to data.cc>
> .
>> (make process is too slow, do I have to always do 'make' before I can
>> test
>> my changes?)
>
> You don't need to rebuild if the only changes you are making are unit
> tests. If I were adding tests to isinteger, I would do
>
> vim ../libinterp/corefcn/data.cc ## add tests
> ./run-octave --eval "test ../libinterp/corefcn/data.cc"
>
> If you want to submit tests to be committed, use hg commit, hg export,
> and post the patch to the patch tracker
>
> https://savannah.gnu.org/patch/?func=additem&group=octave
>
> --
> mike
Hey Mike,
Thank you for your help.
I also wanna add, when I commit, it is also commits all my .build folder
stuff. Is it necessary?
Should I add .build folder to .hgignore file. Or it is what is suppose to
happen?
Thanks,
NVS Abhilash
-----
NVS Abhilash
--
View this message in context:
http://octave.1599824.n4.nabble.com/Starting-with-BIST-testing-tp4680214p4680261.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.