<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/run-tests.php, branch php-8.0.3</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fixed bug #80437</title>
<updated>2020-11-30T10:40:46+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-11-30T10:40:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=15073d8e1da5f7c140acbed0bee0c09439a1cfac'/>
<id>15073d8e1da5f7c140acbed0bee0c09439a1cfac</id>
<content type='text'>
Only chmod if the file has been created.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only chmod if the file has been created.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't set xdebug.default_enable in run-tests</title>
<updated>2020-10-26T12:10:26+00:00</updated>
<author>
<name>bashkarev</name>
<email>d.bashkarev@roseltorg.tech</email>
</author>
<published>2020-10-12T12:28:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f17b2a75a5784cc5a6a4850a54c51fb4cfadd0d6'/>
<id>f17b2a75a5784cc5a6a4850a54c51fb4cfadd0d6</id>
<content type='text'>
This throws a deprecation warning in XDebug 3.

Closes GH-6324.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This throws a deprecation warning in XDebug 3.

Closes GH-6324.
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip arginfo test under msan</title>
<updated>2020-10-15T08:40:23+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-10-15T08:40:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b2700811f3fa701a14701fc1a9e629f468e7d8a1'/>
<id>b2700811f3fa701a14701fc1a9e629f468e7d8a1</id>
<content type='text'>
Msan is missing interceptors for some functions that result in
false positives.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Msan is missing interceptors for some functions that result in
false positives.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused --temp-urlbase option from run-tests.php</title>
<updated>2020-09-23T10:34:59+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-09-23T10:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9623756ab7db27b26755671ed39796aab8ffa584'/>
<id>9623756ab7db27b26755671ed39796aab8ffa584</id>
<content type='text'>
This was part of the removed HTML functionality.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was part of the removed HTML functionality.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: Gracefully handle empty user input in run-tests.php</title>
<updated>2020-08-24T09:46:01+00:00</updated>
<author>
<name>Berbe</name>
<email>4251220+Berbe@users.noreply.github.com</email>
</author>
<published>2020-08-19T00:44:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bfeb2f6abc35309f25074410ee7eb61f59c22274'/>
<id>bfeb2f6abc35309f25074410ee7eb61f59c22274</id>
<content type='text'>
Closes GH-6016.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes GH-6016.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add `run-tests.php --context [n]` option.</title>
<updated>2020-08-16T13:31:38+00:00</updated>
<author>
<name>Tyson Andre</name>
<email>tysonandre775@hotmail.com</email>
</author>
<published>2020-08-10T02:07:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0461c1574aca1487682a7f8b12bb2d9df09ebc88'/>
<id>0461c1574aca1487682a7f8b12bb2d9df09ebc88</id>
<content type='text'>
Mentioned in https://github.com/php/php-src/pull/5965#discussion_r467621123

This PR proposes 3 lines of context so the impact can be seen in tests.
Other `diff` programs show around 3 lines of context.
(This helps indicate exactly which position a test should be updated
to add a new expected line at)

Use the mapping for choosing order to display diffs

Properly include context in cases where the expected output had more lines than
the actual output, e.g.

```
--FILE--
A
A1
A
C
NEARBY
--EXPECTF--
A
B
A1
B
A
B
A
B
NEARBY
```

Closes GH-5968
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mentioned in https://github.com/php/php-src/pull/5965#discussion_r467621123

This PR proposes 3 lines of context so the impact can be seen in tests.
Other `diff` programs show around 3 lines of context.
(This helps indicate exactly which position a test should be updated
to add a new expected line at)

Use the mapping for choosing order to display diffs

Properly include context in cases where the expected output had more lines than
the actual output, e.g.

```
--FILE--
A
A1
A
C
NEARBY
--EXPECTF--
A
B
A1
B
A
B
A
B
NEARBY
```

Closes GH-5968
</pre>
</div>
</content>
</entry>
<entry>
<title>Colorize --show-diff, only on stdout</title>
<updated>2020-08-13T15:27:32+00:00</updated>
<author>
<name>Tyson Andre</name>
<email>tysonandre775@hotmail.com</email>
</author>
<published>2020-08-12T23:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7be61bec8037e601c989e5002198f77bf39e8d59'/>
<id>7be61bec8037e601c989e5002198f77bf39e8d59</id>
<content type='text'>
Don't add colors to the saved `.diff` file.

Related to a41cf3e1d2ed3ae38ad6115a8b65e5f14dae0b49
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't add colors to the saved `.diff` file.

Related to a41cf3e1d2ed3ae38ad6115a8b65e5f14dae0b49
</pre>
</div>
</content>
</entry>
<entry>
<title>Support NO_COLOR environment variable in run-tests.php</title>
<updated>2020-08-12T13:37:45+00:00</updated>
<author>
<name>Tyson Andre</name>
<email>tysonandre775@hotmail.com</email>
</author>
<published>2020-08-09T15:26:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=45d69fb80942af07cad5fb26d49200942a9deca8'/>
<id>45d69fb80942af07cad5fb26d49200942a9deca8</id>
<content type='text'>
And add a --color option for run-tests.php

See https://no-color.org/

&gt; an informal standard is hereby proposed:
&gt;
&gt; All command-line software which outputs text with ANSI color added should check
&gt; for the presence of a `NO_COLOR` environment variable that, when present
&gt; (regardless of its value), prevents the addition of ANSI color.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And add a --color option for run-tests.php

See https://no-color.org/

&gt; an informal standard is hereby proposed:
&gt;
&gt; All command-line software which outputs text with ANSI color added should check
&gt; for the presence of a `NO_COLOR` environment variable that, when present
&gt; (regardless of its value), prevents the addition of ANSI color.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Make diff section contents red(-)/green(+) in run-tests.php"</title>
<updated>2020-08-10T07:38:48+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-08-10T07:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a41cf3e1d2ed3ae38ad6115a8b65e5f14dae0b49'/>
<id>a41cf3e1d2ed3ae38ad6115a8b65e5f14dae0b49</id>
<content type='text'>
This reverts commit 58489bd3b93e10c150933eefac05297b48213eb3.

This also uses ANSI escape code coloring for .diff files, where it
is not meaningful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 58489bd3b93e10c150933eefac05297b48213eb3.

This also uses ANSI escape code coloring for .diff files, where it
is not meaningful.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make diff section contents red(-)/green(+) in run-tests.php</title>
<updated>2020-08-10T00:59:43+00:00</updated>
<author>
<name>Tyson Andre</name>
<email>tysonandre775@hotmail.com</email>
</author>
<published>2020-08-09T15:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=58489bd3b93e10c150933eefac05297b48213eb3'/>
<id>58489bd3b93e10c150933eefac05297b48213eb3</id>
<content type='text'>
This uses green for lines with `+` and red for lines with `-`.

Colors(Red and Green) would make the failure causes stand out visually when scrolling through errors.

Closes GH-5965
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses green for lines with `+` and red for lines with `-`.

Colors(Red and Green) would make the failure causes stand out visually when scrolling through errors.

Closes GH-5965
</pre>
</div>
</content>
</entry>
</feed>
