apache / apache/couchdb

Missing `weatherreport-test` makefile target on Windows

Open
#4,376 1 comment 0 reactions 0 assignees View on GitHub
enhancement patches-welcome windows
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )

## Description

The make target `weatherreport-test` is missing on Windows and needs to be backported
from the *nix makefile target.

## Steps to Reproduce

Run this on Windows:
```
PS C:\relax\couchdb> make -f Makefile.win weatherreport-test
```
Output:
```
make: *** No rule to make target 'weatherreport-test'. Stop.
```

## Expected Behaviour

Should run the test like the makefile target on *nix:
```
[ * ] Running cluster setup ... ok
[ * ] Exec command bin/weatherreport --etc dev/lib/node1/etc --level error ... No diagnostic messages to report.
```

## Your Environment

* CouchDB version used: a14922fad42575574bb26a24a123e0a1ef4e1621
* Operating system and version: Windows Server 2022

Contributor guide

Open the contributing guide

Research direction

Compare the existing weatherreport-test target in the *nix makefile with Makefile.win, then run make -f Makefile.win weatherreport-test on Windows. Done means the target exists and produces the expected cluster setup and weatherreport output without the missing-rule error.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
build-system, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.