~deja-dup-hackers/deja-dup/34

« back to all changes in this revision

Viewing changes to deja-dup/tests/CMakeLists.txt

  • Committer: Michael Terry
  • Date: 2013-10-06 07:11:16 UTC
  • Revision ID: michael.terry@canonical.com-20131006071116-pz045n8znpxlajvj
Add first autopilot test

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
# You should have received a copy of the GNU General Public License
17
17
# along with Déjà Dup.  If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
 
add_subdirectory(ldtp)
 
19
add_custom_target(autopilot-system-deja-dup
 
20
                  COMMAND env PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/tests/shell-system" autopilot run deja_dup_autopilot)
 
21
add_dependencies(autopilot-system autopilot-system-deja-dup)
 
22
 
 
23
add_custom_target(autopilot-deja-dup
 
24
                  COMMAND env PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_SOURCE_DIR}/tests/shell" autopilot run deja_dup_autopilot)
 
25
add_dependencies(autopilot autopilot-deja-dup)