1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00
Commit Graph

48 Commits

Author SHA1 Message Date
Christoph M. Becker
dff3219ce0 Provide bless_tests.patch for failing tests on AppVeyor
In case any tests are failing with the `--bless` option, we provide the
resulting `git diff` as artifact.  This is particularly helpful for PR
authors who don't have a Windows environment at hand.

Closes GH-7204.
2021-07-17 16:57:13 +02:00
Christoph M. Becker
139a73b5a4 Improve performance of AppVeyor test runs
We only load a minimum set of extensions, and rely on dynamic loading
of others due to `--EXTENSION--` triggers.  We do not run the imap,
ldap and snmp test suites, because most of the tests would be skipped
after timeouts anyway.

Closes GH-7150.
2021-06-14 23:36:17 +02:00
Christoph M. Becker
048cb9be05 Merge branch 'PHP-8.0'
* PHP-8.0:
  Properly push test artifacts
2021-05-16 14:47:15 +02:00
Christoph M. Becker
a75a4a4a70 Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
  Properly push test artifacts
2021-05-16 14:46:31 +02:00
Christoph M. Becker
fb86a176ba Properly push test artifacts
Cf. https://www.appveyor.com/docs/packaging-artifacts/#pushing-artifacts-from-scripts.

Closes GH-6990.
2021-05-16 14:45:06 +02:00
Josh Soref
462da6e09c Fix spelling and grammar mistakes
This PR corrects misspellings identified by the check-spelling action.

The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465

The action reports that the changes in this PR would make it happy: jsoref@602417c

Closes GH-6822.
2021-04-13 12:09:37 +02:00
Dmitry Stogov
d05e88250a Revert "Disable tracing JIT on AppVeyor"
This reverts commit a986933dde.

	Tracing JIT for Windows is already fixed.
2020-07-22 20:03:50 +03:00
Christoph M. Becker
a986933dde Disable tracing JIT on AppVeyor
This is a temporary measure until the current issues[1] are resolved.

[1] <0e1e991a89 (commitcomment-40805659)>
2020-07-22 08:55:52 +02:00
Christoph M. Becker
d2508ef947 Merge branch 'PHP-7.4'
* PHP-7.4:
  Enable phpdbg tests on AppVeyor
  Make phpdbg test portable
  Fix several mostly Windows related phpdbg bugs
  Fix #73926: phpdbg will not accept input on restart execution
2020-05-26 17:46:56 +02:00
Christoph M. Becker
9fad9addb5 Enable phpdbg tests on AppVeyor 2020-05-26 17:45:35 +02:00
Christoph M. Becker
6549891602 Update AppVeyor for enchant-2
Cf. <df5a4586e0>
2020-05-11 16:18:03 +02:00
Christoph M. Becker
51dfba3d7b Show all tests on AppVeyor
This is a temporary measure to try to resolve the often failing
mysqli_insert_packet_overflow.phpt issue.  Unfortunately, I have not
been able to reproduce the test failure locally, or in my php-src fork.
2020-04-27 14:57:07 +02:00
Christoph M. Becker
7574823911 Enable JIT for AppVeyor CI
This is not supposed to bring any test performance optimization, but
allows us to test basic JIT functionality on Windows.
2020-04-17 14:17:14 +02:00
Christoph M. Becker
8812350c7a Fix AppVeyor build
`OPENSSL_CONF` must not contain quotes, but actually, we want to test
the default path, so we don't even set `OPENSLL_CONF` anymore.
2019-10-01 11:51:07 +02:00
Christoph M. Becker
d596fda993 Fix AppVeyor setup wrt. changed OpenSSL default config path 2019-10-01 10:01:34 +02:00
Sjon Hortensius
a7881df281 PDO: support username & password specified in DSN 2019-07-02 12:09:38 +02:00
Anatol Belski
d632bede91 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix var name
2019-05-31 20:50:53 +02:00
Anatol Belski
06eef1f70f Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix var name
2019-05-31 20:50:17 +02:00
Anatol Belski
d293f6dcff Fix var name 2019-05-31 20:49:42 +02:00
Christoph M. Becker
1b0a33ec59 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix typo
2019-05-10 18:46:18 +02:00
Christoph M. Becker
49b5ffe48c Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix typo
2019-05-10 18:44:47 +02:00
Christoph M. Becker
3759c6316d Fix typo
Since opcache.enable defaults to 1 anyway, this change is only
cosmetic.
2019-05-10 18:43:40 +02:00
Christoph M. Becker
d0719be436 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  PHP, meet MySQL
2019-04-27 19:22:30 +02:00
Christoph M. Becker
3309f2fbb9 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  PHP, meet MySQL
2019-04-27 19:22:10 +02:00
Christoph M. Becker
57d5dc5688 PHP, meet MySQL
All pdo_mysql tests are skipped on AppVeyor because "No such host is
known".  We change the DSN to use semicolons instead of spaces to fix
that.
2019-04-27 19:21:51 +02:00
Christoph M. Becker
be74a00464 Fix VirtualProtect() related Phar issues
We must not (try to) modify shared values, but rather have to use our
own copies, if unixified filenames are required on Windows.  To avoid
excessive string duplication, we add checks whether the filenames are
already unixified (i.e. do not contain backslashes).  To improve the
performance if we need to copy strings, we use do_alloca() and friends.

Besides generally being somewhat messy, the handling of unixified
filenames is still suboptimal performance-wise, but we leave this for a
future cleanup, and focus on fixing the issue at hand for now.

We also enable opcache.protect_memory for the AppVeyor CI.
2019-04-26 09:09:22 +02:00
Nikita Popov
a0b527eb33 Disable test parallelization on AppVeyor with opcache
This is too unstable due to shared opcache state. Disabling it until
this issue is resolved to reduce the number of spurious failures.
2019-02-28 10:57:24 +01:00
Nikita Popov
e3d502f4de Enable parallel tests on AppVeyor
I'll be keeping an eye on spurious failures resulting from this...
2019-02-21 11:05:36 +01:00
Peter Kokot
1ad08256f3 Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:56:38 +02:00
Peter Kokot
1c850bfcca Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:55:24 +02:00
Peter Kokot
60a69daec6 Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:54:08 +02:00
Anatol Belski
cc7b4b7e52 Switch to PostgreSQL 10 for AppVeyor tests 2018-03-29 18:31:17 +02:00
Anatol Belski
67872afefd Re-enable ODBC tests 2018-01-04 17:31:59 +01:00
Anatol Belski
18ddc2eb9c Merge branch 'PHP-7.2'
* PHP-7.2:
  Revert to Postgres 9.6, AppVeyor seems to have issues with 10
2017-12-22 23:39:59 +01:00
Anatol Belski
eb5ba59ad5 Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Revert to Postgres 9.6, AppVeyor seems to have issues with 10
2017-12-22 23:39:37 +01:00
Anatol Belski
9cafc33ba3 Revert to Postgres 9.6, AppVeyor seems to have issues with 10 2017-12-22 23:38:04 +01:00
Anatol Belski
0317dbd126 Merge branch 'PHP-7.2'
* PHP-7.2:
  Update tool path
2017-12-22 23:27:20 +01:00
Anatol Belski
5f235e42fb Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Update tool path
2017-12-22 23:26:42 +01:00
Anatol Belski
7b47b7297d Update tool path 2017-12-22 23:25:39 +01:00
Anatol Belski
0b44af5b1d Implement junit test results upload to AppVeyor 2017-12-01 17:23:03 +01:00
Anatol Belski
5aa96fe3d5 Merge branch 'PHP-7.1'
* PHP-7.1:
  Next round on AppVeyor reliability.
2017-06-17 02:00:27 +02:00
Anatol Belski
4a39d33ee5 Next round on AppVeyor reliability. 2017-06-17 01:57:47 +02:00
Anatol Belski
a0338d3490 Merge branch 'PHP-7.1'
* PHP-7.1:
  enforce exit status propagation and up the sdk version
2017-06-08 17:18:15 +02:00
Anatol Belski
9997767dc3 enforce exit status propagation and up the sdk version 2017-06-08 17:14:52 +02:00
Nikita Popov
f9215b6519 Support showing slow tests in run-tests.php 2017-05-01 12:25:03 +02:00
Anatol Belski
1dbef2e27a adjust deps dir naming scheme
not principal, just to have it same way as everywhere
2017-03-23 13:00:14 +01:00
Anatol Belski
a7c444b939 fix deps dir for test data preparations 2017-01-06 02:34:03 +01:00
Anatol Belski
aeebae641e add scripts for AppVeyor integration
(cherry picked from commit c737d6fb49)
2016-12-17 00:12:49 +01:00