public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dim: Make sure nightly.conf hasn't disappeared
@ 2017-09-26 11:45 Daniel Vetter
  2017-09-26 11:45 ` [PATCH 2/2] dim: Basic sanity check for nightly.conf Daniel Vetter
  2017-09-26 12:01 ` [PATCH 1/2] dim: Make sure nightly.conf hasn't disappeared Joonas Lahtinen
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Vetter @ 2017-09-26 11:45 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter, Daniel Vetter

Suggested by Chris Wilson.

v2: Fix typo in the error msg (Chris).

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 dim | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dim b/dim
index db11d3f1cc68..69109a4f8666 100755
--- a/dim
+++ b/dim
@@ -220,6 +220,12 @@ if [ "$subcommand" != "setup" ] && [ "$subcommand" != "help" ] && [ "$subcommand
 			exit 1
 		fi
 	done
+	for f in $DIM_PREFIX/drm-rerere/nightly.conf; do
+		if [ ! -f $f ]; then
+			echoerr "$f is missing, please check your configuration and/or run dim setup"
+			exit 1
+		fi
+	done
 fi
 
 #
-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-26 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26 11:45 [PATCH 1/2] dim: Make sure nightly.conf hasn't disappeared Daniel Vetter
2017-09-26 11:45 ` [PATCH 2/2] dim: Basic sanity check for nightly.conf Daniel Vetter
2017-09-26 11:57   ` Jani Nikula
2017-09-26 12:01 ` [PATCH 1/2] dim: Make sure nightly.conf hasn't disappeared Joonas Lahtinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox