From 6e025a242e1ed632d253037f1e46cfef2cb7ae2c Mon Sep 17 00:00:00 2001 From: Steve Linton Date: Tue, 26 Jul 2016 13:23:48 +0100 Subject: [PATCH 01/14] Rename T_BOOL to "boolean or fail" --- src/bool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bool.c b/src/bool.c index 1fa9d5a9a5..5d64437122 100644 --- a/src/bool.c +++ b/src/bool.c @@ -373,7 +373,7 @@ static Int InitKernel ( StructInitInfo * module ) { /* install the marking functions for boolean values */ - InfoBags[ T_BOOL ].name = "boolean"; + InfoBags[ T_BOOL ].name = "boolean or fail"; InitMarkFuncBags( T_BOOL, MarkNoSubBags ); /* init filters and functions */ From 0519f5424351a930c5d47afe4ff790761458390e Mon Sep 17 00:00:00 2001 From: Steve Linton Date: Tue, 26 Jul 2016 14:29:07 +0100 Subject: [PATCH 02/14] Test --- tst/testinstall/boolean.tst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tst/testinstall/boolean.tst b/tst/testinstall/boolean.tst index 2f53ea2a12..29d0220631 100644 --- a/tst/testinstall/boolean.tst +++ b/tst/testinstall/boolean.tst @@ -44,6 +44,8 @@ gap> false and true; false gap> false and false; false +gap> TNUM_OBJ(fail)[2]; +"boolean or fail" gap> STOP_TEST( "boolean.tst", 250000); ############################################################################# From ae6d66895927dcf8591e78c9698484cc3d73adb0 Mon Sep 17 00:00:00 2001 From: Alexander Hulpke Date: Sun, 31 Jul 2016 13:07:51 +0200 Subject: [PATCH 03/14] FIX: Algebraic extensions over non-prime fields may not use dimension over prime fields. This fixes #869. --- lib/algfld.gi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/algfld.gi b/lib/algfld.gi index ffc20c94d6..8ad7ff8b13 100644 --- a/lib/algfld.gi +++ b/lib/algfld.gi @@ -200,7 +200,7 @@ local f,p,nam,e,fam,colf; fi; # AH: Noch VR-Eigenschaften! - SetDimension( e, DegreeOverPrimeField( e ) ); + SetDimension( e, DegreeOfUnivariateLaurentPolynomial( p ) ); SetOne(e,One(fam)); SetZero(e,Zero(fam)); From b45966e013a22e501f7c73454d49e5049b2a08bb Mon Sep 17 00:00:00 2001 From: Alexander Hulpke Date: Thu, 4 Aug 2016 14:35:33 +0200 Subject: [PATCH 04/14] FIX: Reduce monomials before forming quotient ring. This fixes a bug reported by Dimity Savchuk. Test for this fix. --- lib/groebner.gi | 7 +++++-- tst/teststandard/bugfix.tst | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/lib/groebner.gi b/lib/groebner.gi index 01bda7c245..df25ab4d00 100644 --- a/lib/groebner.gi +++ b/lib/groebner.gi @@ -1243,7 +1243,7 @@ end); InstallMethod( NaturalHomomorphismByIdeal,"polynomial rings",IsIdenticalObj, [ IsPolynomialRing,IsRing], function(R,I) - local ord,b,ind,num,c,corners,i,j,a,bound,mon,n,monb,dim,sc,k,l,char,hom; +local ord,b,ind,num,c,corners,i,j,a,rem,bound,mon,n,monb,dim,sc,k,l,char,hom; if not IsIdeal(R,I) then Error("I is not an ideal!"); fi; @@ -1300,10 +1300,12 @@ function(R,I) a[i]:=a[i]+1; fi; od; + if i>0 then if ForAny(corners,x->ForAll([1..n],j->x[j]<=a[j])) then # set last coordinate to become 0 again a[n]:=bound[n]; + i:=n; else Add(mon,ShallowCopy(a)); i:=Length(a); @@ -1320,7 +1322,8 @@ function(R,I) sc:=EmptySCTable(dim,0); for i in [1..dim] do for j in [1..dim] do - a:=PolynomialReducedRemainder(mon[i]*mon[j],b,ord); + rem:=PolynomialReducedRemainder(mon[i]*mon[j],b,ord); + a:=rem; if not IsZero(a) then a:=Coefficients(monb,a); if char>0 then diff --git a/tst/teststandard/bugfix.tst b/tst/teststandard/bugfix.tst index 67257353be..e9fa9962d2 100644 --- a/tst/teststandard/bugfix.tst +++ b/tst/teststandard/bugfix.tst @@ -3082,6 +3082,20 @@ gap> Remove(l); gap> [l, Length(l)]; [ [ 1, 2,, [ ] ], 4 ] +#2016/8/4 (AH, Reported by D. Savchuk) +gap> r1:=PolynomialRing(GF(2),3); +GF(2)[x_1,x_2,x_3] +gap> x_1:=r1.1;;x_2:=r1.2;;x_3:=r1.3;; +gap> I:=Ideal(r1,[x_1^2-x_2,x_2^2-x_1,x_1*x_2-x_3]);; +gap> Size(r1/I); +16 +gap> r1:=PolynomialRing(GF(2),4);; +gap> x_1:=r1.1;;x_2:=r1.2;;x_3:=r1.3;;x_4:=r1.4;; +gap> rels:=[x_1^2+x_2,x_1*x_2+x_3,x_1*x_3+x_4, x_1*x_4+x_1,x_2^2+x_4, +> x_2*x_3+x_1,x_2*x_4+x_2,x_3^2+x_2,x_3*x_4+x_3,x_4^2+x_4];; +gap> Size(r1/Ideal(r1,rels)); +32 + ############################################################################# gap> STOP_TEST( "bugfix.tst", 831990000); From c42357145781675f78ed664d8c0921d28b171ef2 Mon Sep 17 00:00:00 2001 From: Alexander Hulpke Date: Thu, 4 Aug 2016 20:20:16 +0200 Subject: [PATCH 05/14] Requested further test. --- tst/teststandard/bugfix.tst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tst/teststandard/bugfix.tst b/tst/teststandard/bugfix.tst index e9fa9962d2..907a919ed6 100644 --- a/tst/teststandard/bugfix.tst +++ b/tst/teststandard/bugfix.tst @@ -3082,6 +3082,13 @@ gap> Remove(l); gap> [l, Length(l)]; [ [ 1, 2,, [ ] ], 4 ] +#2016/8/1 (#869) +gap> x:=X(GF(4));;e:=AlgebraicExtension(GF(4),x^3+x+1);; +gap> Length(Elements(e)); +64 +gap> Length(Set(Elements(e))); +64 + #2016/8/4 (AH, Reported by D. Savchuk) gap> r1:=PolynomialRing(GF(2),3); GF(2)[x_1,x_2,x_3] From 513aa58ff6aa4313bd69029f3c86c9f7b1fc627a Mon Sep 17 00:00:00 2001 From: Alexander Konovalov Date: Fri, 12 Aug 2016 17:25:15 +0100 Subject: [PATCH 06/14] Correct the name of AtlasRep packag in the error message This has been reported by Thomas Breuer: https://mail.gap-system.org/pipermail/gap/2016-July/000726.html --- grp/simple.gi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grp/simple.gi b/grp/simple.gi index 1ca4a413ed..3e815eb0f9 100644 --- a/grp/simple.gi +++ b/grp/simple.gi @@ -158,7 +158,7 @@ local g; fi; g:=CallFuncList(ValueGlobal("AtlasGroup"),params); if not IsGroup(g) then - Error("The AtlasGroup package could not load a group with parameters ",params); + Error("The AtlasRep package could not load a group with parameters ",params); fi; SetName(g,params[1]); if not '.' in params[1] then From f064102e4954d8be3618f1379828cb310bd48b2c Mon Sep 17 00:00:00 2001 From: Markus Pfeiffer Date: Tue, 16 Aug 2016 12:15:00 +0100 Subject: [PATCH 07/14] Fix FuncREAD_STRING_FILE * If using Cygwin the codepath tested for read returning <= 0 for an error, but a return value of 0 just signifies that we've reached end of file. * Fix unused variable warnings when using Cygwin --- src/streams.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/streams.c b/src/streams.c index b8c3fd5f6e..e401c6b14f 100644 --- a/src/streams.c +++ b/src/streams.c @@ -1973,10 +1973,13 @@ Obj FuncREAD_STRING_FILE ( Obj fid ) { Char buf[32769]; - Int ret, len, l; + Int ret, len; UInt lstr; Obj str; +#if !defined(SYS_IS_CYGWIN32) + Int l; char *ptr; +#endif /* check the argument */ while ( ! IS_INTOBJ(fid) ) { @@ -1986,9 +1989,8 @@ Obj FuncREAD_STRING_FILE ( "you can replace via 'return ;'" ); } -#if ! SYS_IS_CYGWIN32 +#if !defined(SYS_IS_CYGWIN32) && defined(HAVE_STAT) /* fstat seems completely broken under CYGWIN */ -#if HAVE_STAT /* first try to get the whole file as one chunk, this avoids garbage collections because of the GROW_STRING calls below */ { @@ -2018,13 +2020,13 @@ Obj FuncREAD_STRING_FILE ( return str; } } -#endif #endif /* read until we see eof (in 32kB pieces) */ str = NEW_STRING(0); len = 0; - while (1) { - if ( (ret = read( syBuf[INT_INTOBJ(fid)].fp , buf, 32768)) <= 0 ) { + do { + ret = read( syBuf[INT_INTOBJ(fid)].fp , buf, 32768); + if (ret < 0) { SySetErrorNo(); return Fail; } @@ -2034,7 +2036,7 @@ Obj FuncREAD_STRING_FILE ( memcpy( CHARS_STRING(str)+lstr, buf, ret ); *(CHARS_STRING(str)+lstr+ret) = '\0'; SET_LEN_STRING(str, lstr+ret); - } + } while(ret > 0); /* fix the length of */ len = GET_LEN_STRING(str); From 6eb8dd5de2dc5dddb2dc7daf8a5390599fded8fb Mon Sep 17 00:00:00 2001 From: Markus Pfeiffer Date: Wed, 17 Aug 2016 21:38:15 +0100 Subject: [PATCH 08/14] Some fixups. --- src/streams.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/streams.c b/src/streams.c index e401c6b14f..5af1ed6432 100644 --- a/src/streams.c +++ b/src/streams.c @@ -1976,7 +1976,7 @@ Obj FuncREAD_STRING_FILE ( Int ret, len; UInt lstr; Obj str; -#if !defined(SYS_IS_CYGWIN32) +#if !defined(SYS_IS_CYGWIN32) && defined(HAVE_STAT) Int l; char *ptr; #endif @@ -2020,7 +2020,7 @@ Obj FuncREAD_STRING_FILE ( return str; } } -#endif +#else /* read until we see eof (in 32kB pieces) */ str = NEW_STRING(0); len = 0; @@ -2045,7 +2045,8 @@ Obj FuncREAD_STRING_FILE ( /* and return */ syBuf[INT_INTOBJ(fid)].ateof = 1; - return len == 0 ? Fail : str; + return str; +#endif } /**************************************************************************** From f760aefcfbbd59cb50e3ecfb14954148644bc24e Mon Sep 17 00:00:00 2001 From: Alexander Konovalov Date: Thu, 18 Aug 2016 17:01:33 +0100 Subject: [PATCH 09/14] Add configuration file for AppVeyor (www.appveyor.com) This will allow using Cygwin builds for continuos integration --- appveyor.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000..15d1adcd4c --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,12 @@ +# set clone depth +clone_depth: 5 # clone entire repository history if not defined + +install: + - 'C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P autoconf -P automake -P bison -P libgmp-devel -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P python -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl' + +# scripts that run after cloning repository +build_script: + - 'C:/cygwin/bin/bash -lc "cd /cygdrive/c/projects/gap ; ./configure --with-gmp=system && make cygwin && make bootstrap-pkg-full"' + +test_script: + - 'C:/cygwin/bin/bash -lc "cd /cygdrive/c/projects/gap ; make testinstall"' From 0c647f7aca6ace533c7d7a1acd96254513389464 Mon Sep 17 00:00:00 2001 From: Alexander Konovalov Date: Fri, 19 Aug 2016 12:34:33 +0100 Subject: [PATCH 10/14] Use APPVEYOR_BUILD_FOLDER environment variable --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 15d1adcd4c..424919d66f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,7 +6,7 @@ install: # scripts that run after cloning repository build_script: - - 'C:/cygwin/bin/bash -lc "cd /cygdrive/c/projects/gap ; ./configure --with-gmp=system && make cygwin && make bootstrap-pkg-full"' + - 'C:/cygwin/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; ./configure --with-gmp=system && make cygwin && make bootstrap-pkg-full"' test_script: - - 'C:/cygwin/bin/bash -lc "cd /cygdrive/c/projects/gap ; make testinstall"' + - 'C:/cygwin/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; make testinstall"' From 01271c25ee44e24434a174420cdf164ee48a0e10 Mon Sep 17 00:00:00 2001 From: Markus Pfeiffer Date: Fri, 19 Aug 2016 12:16:00 +0100 Subject: [PATCH 11/14] Split FuncREAD_STRING_FILE into system dependent bits The #ifdefs within the function made the function less readable, so FuncREAD_STRING_FILE now calls SyReadStringFile which is implemented as two separate functions in sysfiles.c --- src/streams.c | 71 ++--------------------------------------------- src/sysfiles.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/sysfiles.h | 9 ++++++ 3 files changed, 87 insertions(+), 68 deletions(-) diff --git a/src/streams.c b/src/streams.c index 5af1ed6432..a597c30c07 100644 --- a/src/streams.c +++ b/src/streams.c @@ -1967,20 +1967,10 @@ Obj FuncWRITE_STRING_FILE_NC ( return True; } - Obj FuncREAD_STRING_FILE ( Obj self, Obj fid ) { - Char buf[32769]; - Int ret, len; - UInt lstr; - Obj str; -#if !defined(SYS_IS_CYGWIN32) && defined(HAVE_STAT) - Int l; - char *ptr; -#endif - /* check the argument */ while ( ! IS_INTOBJ(fid) ) { fid = ErrorReturnObj( @@ -1988,65 +1978,10 @@ Obj FuncREAD_STRING_FILE ( (Int)TNAM_OBJ(fid), 0L, "you can replace via 'return ;'" ); } - -#if !defined(SYS_IS_CYGWIN32) && defined(HAVE_STAT) - /* fstat seems completely broken under CYGWIN */ - /* first try to get the whole file as one chunk, this avoids garbage - collections because of the GROW_STRING calls below */ - { - struct stat fstatbuf; - if ( syBuf[INT_INTOBJ(fid)].pipe == 0 && - fstat( syBuf[INT_INTOBJ(fid)].fp, &fstatbuf) == 0 ) { - if((off_t)(Int)fstatbuf.st_size != fstatbuf.st_size) { - ErrorMayQuit( - "The file is too big to fit the current workspace", - (Int)0, (Int)0); - } - len = (Int) fstatbuf.st_size; - str = NEW_STRING( len ); - CHARS_STRING(str)[len] = '\0'; - SET_LEN_STRING(str, len); - ptr = CSTR_STRING(str); - while (len > 0) { - l = (len > 1048576) ? 1048576 : len; - ret = read( syBuf[INT_INTOBJ(fid)].fp, ptr, l); - if (ret == -1) { - SySetErrorNo(); - return Fail; - } - len -= ret; - ptr += ret; - } - return str; - } + if ( syBuf[INT_INTOBJ(fid)].pipe == 1 ) { + ErrorMayQuit(" is a pipe, not a file", 0L, 0L); } -#else - /* read until we see eof (in 32kB pieces) */ - str = NEW_STRING(0); - len = 0; - do { - ret = read( syBuf[INT_INTOBJ(fid)].fp , buf, 32768); - if (ret < 0) { - SySetErrorNo(); - return Fail; - } - len += ret; - GROW_STRING( str, len ); - lstr = GET_LEN_STRING(str); - memcpy( CHARS_STRING(str)+lstr, buf, ret ); - *(CHARS_STRING(str)+lstr+ret) = '\0'; - SET_LEN_STRING(str, lstr+ret); - } while(ret > 0); - - /* fix the length of */ - len = GET_LEN_STRING(str); - ResizeBag( str, SIZEBAG_STRINGLEN(len) ); - - /* and return */ - - syBuf[INT_INTOBJ(fid)].ateof = 1; - return str; -#endif + return SyReadStringFile(INT_INTOBJ(fid)); } /**************************************************************************** diff --git a/src/sysfiles.c b/src/sysfiles.c index 32ddeb0ef3..c7396ae725 100644 --- a/src/sysfiles.c +++ b/src/sysfiles.c @@ -4024,7 +4024,82 @@ Char * SyTmpdir ( const Char * hint ) #endif #endif +#if !defined(SYS_IS_CYGWIN32) && defined(HAVE_STAT) +/* fstat seems completely broken under CYGWIN */ +/* first try to get the whole file as one chunk, this avoids garbage + collections because of the GROW_STRING calls below */ +Obj SyReadStringFile(Int fid) +{ + Int ret, len; + Obj str; + Int l; + char *ptr; + struct stat fstatbuf; + + if( fstat( syBuf[fid].fp, &fstatbuf) == 0 ) { + if((off_t)(Int)fstatbuf.st_size != fstatbuf.st_size) { + ErrorMayQuit( + "The file is too big to fit the current workspace", + (Int)0, (Int)0); + } + len = (Int) fstatbuf.st_size; + str = NEW_STRING( len ); + CHARS_STRING(str)[len] = '\0'; + SET_LEN_STRING(str, len); + ptr = CSTR_STRING(str); + while (len > 0) { + l = (len > 1048576) ? 1048576 : len; + ret = read( syBuf[fid].fp, ptr, l); + if (ret == -1) { + SySetErrorNo(); + return Fail; + } + len -= ret; + ptr += ret; + } + syBuf[fid].ateof = 1; + return str; + } else { + SySetErrorNo(); + return Fail; + } +} + +#else + +Obj SyReadStringFile(Int fid) +{ + Char buf[32769]; + Int ret, len; + UInt lstr; + Obj str; + + /* read until we see eof (in 32kB pieces) */ + str = NEW_STRING(0); + len = 0; + do { + ret = read( syBuf[fid].fp , buf, 32768); + if (ret < 0) { + SySetErrorNo(); + return Fail; + } + len += ret; + GROW_STRING( str, len ); + lstr = GET_LEN_STRING(str); + memcpy( CHARS_STRING(str)+lstr, buf, ret ); + *(CHARS_STRING(str)+lstr+ret) = '\0'; + SET_LEN_STRING(str, lstr+ret); + } while(ret > 0); + + /* fix the length of */ + len = GET_LEN_STRING(str); + ResizeBag( str, SIZEBAG_STRINGLEN(len) ); + syBuf[fid].ateof = 1; + return str; +} + +#endif /**************************************************************************** ** diff --git a/src/sysfiles.h b/src/sysfiles.h index 497acca536..5dbf5c7070 100644 --- a/src/sysfiles.h +++ b/src/sysfiles.h @@ -630,6 +630,15 @@ extern void syWinPut ( const Char * cmd, const Char * str ); +/*************************************************************************** + ** + *F SyReadFileString( ) + ** - read file given by file into a string + */ + +extern Obj SyReadStringFile ( + Int fid ); + /**************************************************************************** From fa6a96c5246d6aac922e2373c3337150684edac0 Mon Sep 17 00:00:00 2001 From: Markus Pfeiffer Date: Fri, 19 Aug 2016 12:42:00 +0100 Subject: [PATCH 12/14] Add a test for StringFile and FileString --- tst/testinstall/read.tst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tst/testinstall/read.tst b/tst/testinstall/read.tst index ca671508f8..1a0d3c23a8 100644 --- a/tst/testinstall/read.tst +++ b/tst/testinstall/read.tst @@ -71,4 +71,13 @@ gap> SeekPositionStream(x, 3); true gap> ReadAll(x); "lo\ngoodbye\ni like pies\n" +gap> StringFile(Filename( DirectoriesLibrary("tst"), "example.txt" )); +"hello\ngoodbye\ni like pies\n" +gap> dir := DirectoryTemporary();; +gap> FileString( Filename(dir, "tmp1"), "Hello, world!"); +13 +gap> StringFile( Filename(dir, "tmp2")); +fail +gap> StringFile( Filename(dir, "tmp1")); +"Hello, world!" gap> STOP_TEST( "read.tst", 220000); From eb51d53530e4de4e908385840c006d34827f6932 Mon Sep 17 00:00:00 2001 From: Alexander Konovalov Date: Fri, 19 Aug 2016 14:30:51 +0100 Subject: [PATCH 13/14] Testing both 32- and 64-bit Cygwin with AppVeyor --- appveyor.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 424919d66f..76285700d9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,12 +1,19 @@ # set clone depth clone_depth: 5 # clone entire repository history if not defined +environment: + matrix: + - CYG_ARCH: x86 + CYG_ROOT: C:/cygwin + - CYG_ARCH: x86_64 + CYG_ROOT: C:/cygwin64 + install: - - 'C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P autoconf -P automake -P bison -P libgmp-devel -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P python -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl' + - '%CYG_ROOT%\setup-%CYG_ARCH%.exe -qnNdO -R %CYG_ROOT% -s http://cygwin.mirror.constant.com -l %CYG_ROOT%/var/cache/setup -P autoconf -P automake -P bison -P libgmp-devel -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P python -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl' # scripts that run after cloning repository build_script: - - 'C:/cygwin/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; ./configure --with-gmp=system && make cygwin && make bootstrap-pkg-full"' + - '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; ./configure --with-gmp=system && make cygwin && make bootstrap-pkg-full"' test_script: - - 'C:/cygwin/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; make testinstall"' + - '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; make testinstall"' From 2dec7e171c831785b7c9586a0676f164dc1ec6f5 Mon Sep 17 00:00:00 2001 From: Alexander Konovalov Date: Fri, 19 Aug 2016 16:08:22 +0100 Subject: [PATCH 14/14] Silencing wget with -nv option to reduce AppVeyor logs --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 76285700d9..542aebcc19 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,6 +13,7 @@ install: # scripts that run after cloning repository build_script: + - '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER && sed -i -e \"s/wget/wget -nv/g\" Makefile.in"' - '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER ; ./configure --with-gmp=system && make cygwin && make bootstrap-pkg-full"' test_script: