You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2025/02/22 13:24:35 UTC
(couchdb-glazier) branch excluding-more-tests created (now 6e84348)
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a change to branch excluding-more-tests
in repository https://gitbox.apache.org/repos/asf/couchdb-glazier.git
at 6e84348 Exclude additional test on Windows
This branch includes the following new commits:
new 6e84348 Exclude additional test on Windows
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(couchdb-glazier) 01/01: Exclude additional test on Windows
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch excluding-more-tests
in repository https://gitbox.apache.org/repos/asf/couchdb-glazier.git
commit 6e8434881d552e82ee8e52d1d1db86b080cc0d8c
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Sat Feb 22 14:23:20 2025 +0100
Exclude additional test on Windows
- add ability to reference path to the CouchDB source dir as a relative
path
---
bin/exclude_tests_win.ps1 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/bin/exclude_tests_win.ps1 b/bin/exclude_tests_win.ps1
index 93e2aa5..608488f 100644
--- a/bin/exclude_tests_win.ps1
+++ b/bin/exclude_tests_win.ps1
@@ -44,7 +44,8 @@ $excludeTests = @(
"src\chttpd\test\eunit\chttpd_dbs_info_test.erl",
"src\chttpd\test\eunit\chttpd_security_tests.erl",
"src\chttpd\test\eunit\chttpd_socket_buffer_size_test.erl",
- "src\chttpd\test\eunit\chttpd_socket_buffer_size_test.erl"
+ "src\chttpd\test\eunit\chttpd_socket_buffer_size_test.erl",
+ "src\chttpd\test\eunit\chttpd_bulk_get_test.erl"
)
function renameFile ([string]$file, [bool]$exclude = $true) {
@@ -52,7 +53,7 @@ function renameFile ([string]$file, [bool]$exclude = $true) {
if( Test-Path -path $file ) {
Write-Host "$file is excluded during testing..."
Rename-Item -path $file -NewName "$file.old"
- }
+ }
} else {
if( Test-Path -path "$file.old" ) {
Write-Host "$file is considered during testing..."
@@ -63,7 +64,7 @@ function renameFile ([string]$file, [bool]$exclude = $true) {
foreach ($test in $excludeTests)
{
- $file = Join-Path $Path $test
+ $file = Join-Path (Resolve-Path $Path) $test
if($IncludeTests) {
renameFile $file $false
} else {