[SCIP] make test with cmake

Matthias Miltenberger miltenberger at zib.de
Thu Sep 5 07:44:03 CEST 2019


Hi Tony,

you just need to run `make test` or `make check` (for a shorter test) 
from within the build directory:

https://scip.zib.de/doc-6.0.2/html/CMAKE.php

Cheers
Matthias

On 05.09.19 06:50, Jakob Witzig wrote:
> Hi Tony,
>
> you can use 'make test EXECUTABLE=<scip-binary>'
>
> Best,
> Jakob
>
> Am 05.09.19 um 05:02 schrieb Wang, Tony Congqian:
>>
>> Hello Community,
>>
>>
>> I tried to run  automated Tests with make test. I have compiled with 
>> cmake and get the following error/output:
>>
>>
>> cd check; \
>>     bash ./check.sh short_2 
>> bin/scip-6.0.1.linux.x86_64.gnu.opt.spx2.none default,default_withML 
>> scip-6.0.1.linux.x86_64.gnu.opt.spx2.none results 3600 2100000000 
>> 6144 1 default 10000 \
>>     false false 6.0.1 spx2 none /tmp false optimize 0 1 false 0 \
>>                 0 0;
>> ERROR: "bin/scip-6.0.1.linux.x86_64.gnu.opt.spx2.none" not found.
>>        This is needed by ./check.sh to work. Check your
>>        $PATH variable or install the tool 
>> "bin/scip-6.0.1.linux.x86_64.gnu.opt.spx2.none".
>> Skipping test since the binary 
>> bin/scip-6.0.1.linux.x86_64.gnu.opt.spx2.none does not exist.
>> Makefile:979: recipe for target 'test' failed
>> make: *** [test] Error 2
>>
>> i couldn't find anything about make test with cmake in the 
>> documentation, so I thought it wouldn't be a problem. Is there a way 
>> to run make test with a cmake compiled scip?
>>
>>
>> Best Regards
>>
>> Tony
>>
>>
>>
>> _______________________________________________
>> Scip mailing list
>> Scip at zib.de
>> https://listserv.zib.de/mailman/listinfo/scip
>
> -- 
> Jakob Witzig
>
> Zuse Institute Berlin (ZIB)
>
> Division Mathematical Optimization and Scientific Information
> Research Group Mathematical Optimization Methods
>
> Takustrasse 7
> 14195 Berlin
>
> Tel. : +49 (0)30 84185-416
> Fax  : +49 (0)30 84185-269
> email:witzig at zib.de
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip

-- 
\__________________

Matthias Miltenberger
Zuse Institute Berlin
Takustr. 7, 14195 Berlin
www.zib.de/miltenberger
miltenberger at zib.de
+49 (30) 841 85 245

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20190905/1cba908b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5356 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listserv.zib.de/pipermail/scip/attachments/20190905/1cba908b/attachment.p7s>


More information about the Scip mailing list