Mesa (master): docs/releasing: correctly document touch-testing

Emil Velikov evelikov at kemper.freedesktop.org
Mon Nov 28 17:49:39 UTC 2016


Module: Mesa
Branch: master
Commit: f9959ca92efbf0dcf032cd335b285c9d61c7af4e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9959ca92efbf0dcf032cd335b285c9d61c7af4e

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Nov 28 17:18:06 2016 +0000

docs/releasing: correctly document touch-testing

I've used an ancient version of the script which did not cover:
 - version expansion (cd mesa-* does not work)
 - --enable-glx-tls
 - EGL and es2* testing
 - Vulkan and DOTA2

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

---

 docs/releasing.html | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)

diff --git a/docs/releasing.html b/docs/releasing.html
index 30ac5c8..4287953 100644
--- a/docs/releasing.html
+++ b/docs/releasing.html
@@ -300,11 +300,6 @@ Reason: ...
 
 <h1 id="release">Making a new release</h1>
 
-* process - manual + xorg tool
-+ ^^ verify
-+ touch test -> glxgears/info dota2vk
-
-
 <p>
 These are the instructions for making a new Mesa release.
 </p>
@@ -335,36 +330,56 @@ Here is one solution that I've been using.
 <pre>
 	git clean -fXd; git clean -nxd
 	read # quick cross check any outstanding files
+	export __version=`cat VERSION`
 	export __mesa_root=../
 	export __build_root=./foo
 	chmod 755 -fR $__build_root; rm -rf $__build_root
 	mkdir -p $__build_root && cd $__build_root
 
-	 $__mesa_root/autogen.sh --enable-llvm-shared-libs && make -j2 distcheck
+	$__mesa_root/autogen.sh --enable-llvm-shared-libs && make -j2 distcheck
 
 	# Build check the tarballs (scons)
-	tar -xaf mesa-*.tar.xz && cd mesa-* && scons && cd ..
+	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version && scons && cd ..
 
 	# Test the automake binaries
-	tar -xaf mesa-*.tar.xz && cd mesa-*
+	rm -rf cd mesa-$__version
+	tar -xaf mesa-$__version.tar.xz && cd mesa-$__version
 	./configure \
 		--with-dri-drivers=i965,swrast \
 		--with-gallium-drivers=swrast \
+		--with-vulkan-drivers=intel \
 		--enable-llvm-shared-libs \
-		--enable-gallium-llvm
+		--enable-gallium-llvm \
+		--enable-glx-tls \
+		--enable-gbm \
+		--enable-egl \
+		--with-egl-platforms=x11,drm,wayland
 	make -j2 && DESTDIR=`pwd`/test make -j6 install
 	export LD_LIBRARY_PATH=`pwd`/test/usr/local/lib/
 	export LIBGL_DRIVERS_PATH=`pwd`/test/usr/local/lib/dri/
-	xport LIBGL_DEBUG=verbose
+	export LIBGL_DEBUG=verbose
 	glxinfo | egrep -o "Mesa.*"
 	glxgears
+	es2_info | egrep "GL_VERSION|GL_RENDERER"
+	es2gears_x11
 	export LIBGL_ALWAYS_SOFTWARE=1
 	glxinfo | egrep -o "Mesa.*|Gallium.*"
 	glxgears
+	es2_info | egrep "GL_VERSION|GL_RENDERER"
+	es2gears_x11
 	export LIBGL_ALWAYS_SOFTWARE=1
 	export GALLIUM_DRIVER=softpipe
 	glxinfo | egrep -o "Mesa.*|Gallium.*"
 	glxgears
+	es2_info | egrep "GL_VERSION|GL_RENDERER"
+	es2gears_x11
+	# Smoke test DOTA2
+	unset LD_LIBRARY_PATH
+	unset LIBGL_DRIVERS_PATH
+	unset LIBGL_DEBUG
+	unset LIBGL_ALWAYS_SOFTWARE
+	export VK_ICD_FILENAMES=`pwd`/src/intel/vulkan/dev_icd.json
+	steam steam://rungameid/570  -vconsole -vulkan
 </pre>
 
 <h3>Update version in file VERSION</h3>




More information about the mesa-commit mailing list