13e3d8b87e
this replaces the libdirs() sub with one containing: - ../target (for when run from build/pve-rs) - ../../target (for when run from toplevel/pve-rs This way we can run 'make check' both from within `pve-rs` as well as from the package building process. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
10 lines
272 B
Makefile
10 lines
272 B
Makefile
.PHONY: test
|
|
test: Proxmox/Lib/PVE.pm
|
|
@echo "-- running pve-rs tests --"
|
|
perl -I. -I.. -I../.. ./resource_scheduling.pl
|
|
|
|
# The test stub, we don't know where to look for the library from in here!
|
|
Proxmox/Lib/PVE.pm:
|
|
@echo "run 'make' in the pve-rs/ dir first"
|
|
@exit 1
|