Files
gentoo/sys-apps/dstat/files/dstat-0.7.4-skip-non-sandbox-tests.patch
Paul Healy 3b58c3821d sys-apps/dstat: version bump to 0.7.4
Adds support for python 3
Now uses EAPI 7
backport fix from: https://github.com/dagwieers/dstat/pull/167/files
added missing six dep
avoid deprecation warning for importing collections with python 3.7

Closes: https://bugs.gentoo.org/696442

Signed-off-by: Paul Healy <lmiphay@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2019-10-21 17:08:17 +03:00

19 lines
661 B
Diff

diff --git a/Makefile b/Makefile
index c371f62..42ef84d 100644
--- a/Makefile
+++ b/Makefile
@@ -32,10 +32,12 @@ clean:
rm -f examples/*.pyc plugins/*.pyc
$(MAKE) -C docs clean
+TEST_PLUGINS=--cpufreq --disk-tps --dstat-cpu --dstat-ctxt --dstat-mem --dstat --helloworld --md-status --net-packets --proc-count --snooze --test --top-bio-adv --top-bio --top-childwait --top-cpu-adv --top-cpu --top-cputime-avg --top-cputime --top-int --top-io-adv --top-io --top-latency-avg --top-latency --top-mem --top-oom
+
test:
./dstat --version
./dstat -taf 1 5
- ./dstat -t --all-plugins 1 5
+ ./dstat -t $(TEST_PLUGINS) 1 5
dist: clean
$(MAKE) -C docs dist