Changeset 328 for tests/common.pri


Ignore:
Timestamp:
Nov 19, 2009, 1:05:13 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

tests: Support RUN_SHELL qmake variable for overriding the shell for debug-run and release-run targets (defaults to $(RUN_SHELL)).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/common.pri

    r310 r328  
    2828        QMAKE_EXTRA_TARGETS += debug-run release-run
    2929} else {
     30        isEmpty(RUN_SHELL):RUN_SHELL = $(RUN_SHELL)
     31        isEmpty(RUN_ARGS):RUN_ARGS = $(RUN_ARGS)
    3032        run.target = run
    31         run.commands = $(DESTDIR_TARGET) $$RUN_ARGS
     33        run.commands = $$RUN_SHELL $(DESTDIR_TARGET) $$RUN_ARGS
    3234        run.depends = $(DESTDIR_TARGET)
    3335        QMAKE_EXTRA_TARGETS += run
Note: See TracChangeset for help on using the changeset viewer.