204 Commits

Author SHA1 Message Date
Dale Hirt
11a7bbacf7 Add test_snap.cmd
This creates a script that allows for individual branch snapshot testing.

The changes to auto_test_snap.cmd just make it call the new test_snap.cmd file with each branch.
2020-01-20 11:55:22 +01:00
Allen Truong
b54b82fd6a Updated to check for fileinfo extension 2020-01-17 14:40:18 +01:00
Allen Truong
246613fa84 Added HelloWorld test files and updated respective groovy file 2020-01-17 14:40:18 +01:00
Allen Truong
bf0a98eaae Updating phpunit 2020-01-17 14:40:18 +01:00
Allen Truong
280b673f78 Updated simplest app scenario (HelloWorld) 2020-01-17 14:40:17 +01:00
Allen Truong
354f3d3231 Fixes #91: Removes Smoke Test looking for specific features 2020-01-08 12:24:15 +01:00
Allen Truong
c00d4846bc Fixes #76: ArrayOutOfBounds exception fixed. 2019-11-22 19:40:14 +01:00
Dale Hirt
94eb81a9e9 Moving PHP_BUILDS environmental variable declaration to set_env.cmd.
Make sure we are only using environmental variable.
2019-11-15 09:56:45 +01:00
Dale Hirt
fea34403b0 Make download_files.ps1 more robust. 2019-11-15 09:56:44 +01:00
Allen Truong
547ad0e532 Updating scripts to not use bitsadmin. 2019-11-14 11:39:04 +01:00
Christoph M. Becker
332325c239 Fix #81: Lower-casing of PHPT file names can break tests 2019-10-23 12:49:39 +02:00
Christoph M. Becker
2f9a2945a9 Fix #67: PHP Deprecated causes failures
We have to use the same error reporting related settings as
run-tests.php, since some of the tests rely on that regarding the
expected output.
2019-10-17 12:58:47 +02:00
Christoph M. Becker
8ef1c24a64 Remove unsupported ini directives
`safe_mode` and `magic_quotes_runtime` are unsupported as of PHP 5.4.0;
the `unicde.*` directives have been a PHP 6 thing.  `disable_defs` is
unknown.  No need to keep them.
2019-10-11 18:24:48 +02:00
Christoph M. Becker
492a1aff61 Remove unused variable
Apparently a relict from PHP 5.3 days.
2019-10-10 15:53:14 +02:00
Christoph M. Becker
03ffc258c9 .gitignore build/ folder 2019-10-01 17:28:15 +02:00
Christoph M. Becker
96366d10ce Fix #31: Cleanup assumes wrong Opcache base address filename
The name of the base address file starts with "ZendOPcache" since
OPcache has been bundled with php-src (i.e. as of PHP 5.5).  Also, for
CLI it is usually created in %TEMP%.
2019-10-01 17:27:46 +02:00
Christoph M. Becker
cabf457c09 Replace some sources with jsr305-3.0.0.jar 2019-10-01 16:11:56 +02:00
Christoph M. Becker
d93ae5c801 Update CLASSPATH for command line tools
Whenever we make changes to .classpath, we also have to update pftt.cmd
and pftt accordingly, so that the bin/ tools use basically the same
CLASSPATH.
2019-09-23 18:40:36 +02:00
Allen Truong
a98986f1a6 Issue #71: Replaced ristretto-1.0-1.jar with src files. 2019-09-19 16:38:55 +02:00
Holly Li (WIPRO LIMITED)
f3afe7cd73 add mysqli and pdo_mysql as non thread safe tests 2019-09-17 10:47:08 +02:00
Christoph M. Becker
0d2a17e462 oops 2019-09-13 18:18:24 +02:00
Christoph M. Becker
f9d25948d3 Fix typo 2019-09-13 15:52:08 +02:00
Allen Truong
6eab5a2f5a Fixes #7: Replace bundled source files with binaries
ristretto-1.0-1.jar is a slightly modified version of ristretto-1.0;
the detailed changes are listed in Modified-Files.txt.
2019-09-13 14:56:30 +02:00
Allen Truong
1793d35586 Adding test_qa file for VMs 2019-09-06 00:15:25 +02:00
Allen Truong
1354c8c0f1 Fixes #59: Updated scripts to tests snapshots better 2019-09-01 14:08:12 +02:00
Christoph M. Becker
e4aaefd28d PHP 7.4 snapshots are built with VS 2017 again 2019-08-21 13:53:08 +02:00
Holly Li (WIPRO LIMITED)
61f397741e close #29, Exit status is not being respected in exec methods 2019-08-13 09:05:31 +02:00
Holly Li (WIPRO LIMITED)
260bd899bc Ignore alternative work folders
convenient for local debugging
2019-08-13 09:05:07 +02:00
Holly Li (WIPRO LIMITED)
255bcd1fed remove AbtractPhptTestCaseRunner2 and minor change on SKIPIF as XFAIL 2019-08-06 10:24:49 +02:00
Allen Truong
848cc83c9b Fixes #55: Automation Part 2 2019-07-27 11:10:04 +02:00
Holly Li (WIPRO LIMITED)
fbf6589a25 1. aways evaluate skipif section, 2.Support xfail in SKIPIF sections 2019-07-27 09:23:06 +02:00
Allen Truong
7c40ee87a3 Fixes #53: Created batch files 2019-07-12 22:44:00 +02:00
Christoph M. Becker
1bb5ffcc65 Exlude ext/wddx from smoke test for PHP 7
ext/wddx is removed as of PHP 7.4.0, and there is not much point to
smoke-test for this rather negligible extension for earlier PHP 7
branches.
2019-07-02 19:54:52 +02:00
Christoph M. Becker
116120135b Close #38: Add PHP 7.4 support 2019-07-02 19:54:52 +02:00
Allen Truong
05e66bd4a0 Fixes #43: Modified what files get deleted 2019-06-30 20:26:10 +02:00
Christoph M. Becker
f6ddff3a4b Close #8: Cleanup unused files in the /bin folder
`cmp`, `diff`, `diff3`, `patch` and `sdiff` are Windows ports of the
respective Gnu utilities.  `NanoServerApiScan` is a Microsoft tool.
`handle` is from sysinternals.

Since none of these executables are used by PFTT, we can safely remove
them.

We also remove the useless "PFTT Shell.lnk" and pftt_workspace.WEW
files.
2019-06-28 16:34:26 +02:00
Christoph M. Becker
c8bf1cfbb4 Close #1: Wipe PHP version support < 5.6 2019-06-28 13:20:10 +02:00
Allen Truong
d92ea3219b Fixes #6: Remove NSIS installer/script 2019-06-28 02:10:37 +02:00
Anatol Belski
2311614b63 Fix build with OpenJ9
AzureWebsiteScenario is unavailable for now, this ocurrence doesn't
compile.
2019-06-21 02:47:39 +02:00
Christoph M. Becker
56978f929e Fix signedness confusion in byte to char cast
Since bytes are signed, but chars are unsigned, we must not cast
directly, but rather make sure that the byte is converted to the
respective positive integer first.
2019-06-15 14:53:05 +02:00
Christoph M. Becker
885a7da0e6 Exercise and check SKIPIF sections of PHPT test cases
Commit ca34269[1] inadvertently disabled exercising of SKIPIF sections.

[1] <http://git.php.net/?p=pftt2.git;a=commit;h=ca34269debeee8b3c192cfa3dd56a35b54be6d1b>
2019-06-12 11:37:51 +02:00
Holly Li (WIPRO LIMITED)
f8b48fb1f6 setup: download and install vc and mysql for all supported builds 2019-06-06 18:41:23 +02:00
Christoph M. Becker
faf31746f6 Remove relicts of an SVN checkout 2019-06-02 21:11:25 +02:00
Allen Truong
bd072f008a Fixes #33 2019-05-28 20:34:18 +02:00
Holly Li (WIPRO LIMITED)
eeac642049 setup: download and install VC12 for MySQL
only install VC12 redistributable X86 since we only install x86 version of MySQL

minor change on VC redist installation based on OS bits
2019-05-25 09:07:18 +02:00
Allen Truong
4062b2dff3 Issue #4: Removed disabling firewall, implemented a way to let VCRedist and MySQL installer through firewall.
Issue #4: Updated for MySQL to install and setup properly.

Fixes Issue #4: Updated a portion for where files are stored and preventing same rules being added.

Made method to add rules to firewall and updated sections to use this method.

Removed unnecessary code, added comments and reduced redundent code.

Added remoteip and swapped execElevated with execOut based on feedback.

Updated how to check if a rule already exists and removed unnecessary code.

Added TODO for future reference and updated how to check for firewall rule.

closes #4
2019-05-17 12:56:03 +02:00
Holly Li (WIPRO LIMITED)
7de71d947b Add {TMP} support on PFTT (closes #27)
also replace regex replace with string replace
2019-05-16 09:36:35 +02:00
Holly Li (WIPRO LIMITED)
f110243fba delete doc/apidoc/* and remove links in doc/index.html
Closes #9
2019-05-11 12:41:59 +02:00
Allen Truong
cfbda5e129 Issue #19: Have pftt delete the files created to run the test if the test passes. 2019-05-07 21:34:32 +02:00
Holly Li (WIPRO LIMITED)
b1704f17dd Issue #3, Implement pftt setup, step 1
use zip non-install package for MySQL installation

support download/install VC16

remove code for sql installer which will never be used

rename from VC16 to VS16
2019-04-30 12:18:19 +02:00