on xenial help sign in
Fixed the install, updated the README.
9bf3404Leo Arias
CODING+8−4
@@ -177,13 +177,17 @@ Running autopilot tests
177Autopilot tests are run from the build directory (which will be ./builddir if you used
177Autopilot tests are run from the build directory (which will be ./builddir if you used
178the ./build script).
178the ./build script).
179
179
180−$ make autopilot
180+Some tests need the fakes to be in the install library path
181−
182−If you want you can also run tests individually, for that you need to install first,
183−otherwise the tests will run on the system-installed version
184
181
185$ make install
182$ make install
186
183
184+To run all the tests
185+
186+$ make autopilot
187+
188+If run tests individually without install first, tests will run on the
189+system-installed version
190+
187To see the list of existing autopilot tests you can do
191To see the list of existing autopilot tests you can do
188
192
189$ PYTHONPATH=../tests/autopilot autopilot list unity8
193$ PYTHONPATH=../tests/autopilot autopilot list unity8
tests/mocks/Unity/CMakeLists.txt+2−2
@@ -44,9 +44,9 @@ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
44 )
44 )
45
45
46install(TARGETS FakeUnityQml
46install(TARGETS FakeUnityQml
47− DESTINATION ${SHELL_INSTALL_QML}/scopefakes
47+ DESTINATION ${SHELL_INSTALL_QML}/scopefakes/Unity
48 )
48 )
49
49
50install(FILES qmldir
50install(FILES qmldir
51− DESTINATION ${SHELL_INSTALL_QML}/scopefakes
51+ DESTINATION ${SHELL_INSTALL_QML}/scopefakes/Unity
52 )
52 )