From 619ae9050eab5eead3ddbfa22baf4f5a5b471120 Mon Sep 17 00:00:00 2001 From: Foo Date: Thu, 7 Jan 2016 05:15:39 +0300 Subject: [PATCH] Lint test configuration --- tests/run_bar_tests.sh | 7 +++++++ tests/test_bar/powerline/themes/wm/__main__.json | 10 ---------- 2 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 tests/test_bar/powerline/themes/wm/__main__.json diff --git a/tests/run_bar_tests.sh b/tests/run_bar_tests.sh index 2204b2bc..473ee33c 100755 --- a/tests/run_bar_tests.sh +++ b/tests/run_bar_tests.sh @@ -187,6 +187,13 @@ else exit_suite --continue fi +if ! powerline-lint \ + -p "$ROOT/powerline/config_files" \ + -p "$TEST_STATIC_ROOT/powerline" +then + fail "lint" F "Checking test config failed" +fi + if test $FAILED -eq 0 ; then rm -r "$TEST_ROOT" fi diff --git a/tests/test_bar/powerline/themes/wm/__main__.json b/tests/test_bar/powerline/themes/wm/__main__.json deleted file mode 100644 index 5654ce8c..00000000 --- a/tests/test_bar/powerline/themes/wm/__main__.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "segment_data": { - "time": { - "display": false - }, - "powerline.segments.common.time.date": { - "display": false - } - } -}