[php-src] PR #14015: Generic `pack()` test for 64-bit

From: Date: Sat, 20 Apr 2024 07:13:50 +0000
Subject: [php-src] PR #14015: Generic `pack()` test for 64-bit
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25834@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14015 Author: ranvis Recreating. I'm sorry for the one that failed to create properly. ---- Generic pack() test for 64-bit. Also add some test cases for better coverage. - Add headers to generic pack test: To make the output easier to read. - Add generic pack test for 64bit: Split int size-dependent test cases. - Add missing test cases for generic pack() test: Add tests for uncovered lines. (For one uncovered part, I'd like to make a code fix later day...) Locally the coverage increased as follows with the third commit on master: | |Before |After | |----------|-------:|-------:| |Lines: | 87.9 %| 98.1 %| |Functions:| 100.0 %| 100.0 %| |Branches: | 68.1 %| 76.1 %| ``` make test TESTS="$(printf 'ext/standard/tests/strings/%s.phpt ' bug35817 \ bug36148 bug38770 bug61764 bug69522 bug70487 bug78833 gh10940 htmlentities17 \ htmlentities20 htmlentities_html4 htmlentities_html5 pack pack64 pack64_32 \ pack_A pack_arrays pack_float pack_int pack_int_64bit pack_Z unpack_bug68225 \ unpack_error unpack_offset)" ```

« previous php.git-pulls (#25834) next »