Mir

Merge lp:~alan-griffiths/mir/revert-3477 into lp:mir

Proposed by Alan Griffiths
Status: Rejected
Rejected by: Alan Griffiths
Proposed branch: lp:~alan-griffiths/mir/revert-3477
Merge into: lp:mir
Diff against target: 97 lines (+16/-52)
3 files modified
debian/mir-test-tools.install (+0/-1)
tests/performance-tests/CMakeLists.txt (+16/-9)
tests/performance-tests/performance_tests.sh (+0/-42)
To merge this branch: bzr merge lp:~alan-griffiths/mir/revert-3477
Reviewer Review Type Date Requested Status
Mir CI Bot continuous-integration Approve
Daniel van Vugt Disapprove
Review via email: mp+293063@code.launchpad.net

Commit message

Revert change that overwrites the "wrapper" executable (linked by various targets) with a script

Description of the change

Revert change that overwrites the "wrapper" executable (linked by various targets) with a script

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

We found it's just the result of an unclean build tree (incremental builds).

Simple to fix.

review: Disapprove
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

PASSED: Continuous integration, rev:3481
https://mir-jenkins.ubuntu.com/job/mir-ci/905/
Executed test runs:
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-mir/949
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-0-fetch/988
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/979
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial/979
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=vivid+overlay/959
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=vivid+overlay/959/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial/959
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial/959/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=cross-armhf,compiler=gcc,platform=android,release=vivid+overlay/959
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=cross-armhf,compiler=gcc,platform=android,release=vivid+overlay/959/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=android,release=vivid+overlay/959
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=android,release=vivid+overlay/959/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/959
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/959/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://mir-jenkins.ubuntu.com/job/mir-ci/905/rebuild

review: Approve (continuous-integration)

Unmerged revisions

3481. By Alan Griffiths

Revert -C 3477

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/mir-test-tools.install'
--- debian/mir-test-tools.install 2016-04-22 03:37:10 +0000
+++ debian/mir-test-tools.install 2016-04-27 09:07:30 +0000
@@ -5,7 +5,6 @@
5usr/bin/mir_umock_acceptance_tests5usr/bin/mir_umock_acceptance_tests
6usr/bin/mir_integration_tests*6usr/bin/mir_integration_tests*
7usr/bin/mir_performance_tests7usr/bin/mir_performance_tests
8usr/bin/mir_glmark2_performance_test
9usr/bin/mir_privileged_tests8usr/bin/mir_privileged_tests
10usr/bin/mir_test_reload_protobuf9usr/bin/mir_test_reload_protobuf
11usr/bin/mir_test_client_*10usr/bin/mir_test_client_*
1211
=== modified file 'tests/performance-tests/CMakeLists.txt'
--- tests/performance-tests/CMakeLists.txt 2016-04-22 03:37:10 +0000
+++ tests/performance-tests/CMakeLists.txt 2016-04-27 09:07:30 +0000
@@ -1,18 +1,25 @@
1add_custom_target(mir_performance_tests ALL1set(
2 cp ${CMAKE_CURRENT_SOURCE_DIR}/performance_tests.sh ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir_performance_tests2 PERFORMANCE_TESTS_SOURCES
3)
4install(PROGRAMS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/mir_performance_tests
5 DESTINATION ${CMAKE_INSTALL_BINDIR}
6)
73
8mir_add_wrapped_executable(mir_glmark2_performance_test
9 test_glmark2-es2-mir.cpp4 test_glmark2-es2-mir.cpp
10)5)
11add_dependencies(mir_glmark2_performance_test GMock)6
12target_link_libraries(mir_glmark2_performance_test7mir_add_wrapped_executable(
8 mir_performance_tests
9
10 ${PERFORMANCE_TESTS_SOURCES}
11)
12
13add_dependencies(mir_performance_tests GMock)
14
15target_link_libraries(
16 mir_performance_tests
17
13 mir-test-static18 mir-test-static
14 mir-test-framework-static19 mir-test-framework-static
15 mir-test-doubles-static20 mir-test-doubles-static
16 mirserver21 mirserver
22
17 ${GTEST_BOTH_LIBRARIES}23 ${GTEST_BOTH_LIBRARIES}
18)24)
25
1926
=== removed file 'tests/performance-tests/performance_tests.sh'
--- tests/performance-tests/performance_tests.sh 2016-04-22 05:09:40 +0000
+++ tests/performance-tests/performance_tests.sh 1970-01-01 00:00:00 +0000
@@ -1,42 +0,0 @@
1#!/bin/sh
2#
3# Copyright © 2016 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 3 as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16#
17# Author: Daniel van Vugt <daniel.van.vugt@canonical.com>
18#
19
20### This is a wrapper script that runs all Mir's performance tests ###
21
22bin_dir=`dirname $0`
23
24title_banner()
25{
26 echo "======================================================================="
27 echo "| $*"
28 echo "======================================================================="
29}
30
31tests_run=0
32failures=0
33for perf_test in mir_glmark2_performance_test
34do
35 title_banner "Mir Performance Tests now running: $perf_test"
36 tests_run=$(($tests_run + 1))
37 $bin_dir/$perf_test || failures=$(($failures + 1))
38done
39
40passes=$(($tests_run - $failures))
41title_banner "Mir Performance Tests ran $tests_run tests: $passes passed, $failures failed."
42return $failures

Subscribers

People subscribed via source and target branches