Files
pve-storage/src/Makefile
Max Carrara 094f3f901f test: add tests for 'ceph.conf' parser and writer
These tests attempt to cover most of Ceph's config parser's grammar,
including all of its syntax quirks [0].

Each case is tested against two testing subroutines:

  1. The parser's output is compared with the expected output.

  2. The writer's output is parsed again ant then compared with the
     expected output.

[0]: https://git.proxmox.com/?p=ceph.git;a=blob;f=ceph/src/common/ConfUtils.cc;h=2f78fd02bf9e27467275752e6f3bca0c5e3946ce;hb=e9fe820e7fffd1b7cde143a9f77653b73fcec748#l144

Signed-off-by: Max Carrara <m.carrara@proxmox.com>
Tested-by: Friedrich Weber <f.weber@proxmox.com>
2024-04-11 11:53:37 +02:00

25 lines
406 B
Makefile

DESTDIR=
PREFIX=/usr
export PERLDIR=$(PREFIX)/share/perl5
all:
.PHONY: install
install: PVE bin udev-rbd
$(MAKE) -C bin install
$(MAKE) -C PVE install
$(MAKE) -C udev-rbd install
.PHONY: test
test:
perl -I. -T -e "use PVE::CLI::pvesm; PVE::CLI::pvesm->verify_api();"
$(MAKE) -C test
$(MAKE) -C PVE test
.PHONY: clean
clean:
$(MAKE) -C bin clean
$(MAKE) -C PVE clean
$(MAKE) -C udev-rbd clean