Skip to content

Commit

Permalink
tests: use TOPDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
gperciva committed Dec 5, 2023
1 parent 8f1dfe8 commit 3523105
Show file tree
Hide file tree
Showing 19 changed files with 756 additions and 756 deletions.
98 changes: 49 additions & 49 deletions tests/app-cmdline/test-app-cmdline.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,59 +9,59 @@ VERSION = test
DEFINES += APP_VERSION=\\\"$$VERSION\\\"

SOURCES += test-app-cmdline.cpp \
../../lib/core/ConsoleLog.cpp \
../../lib/core/TSettings.cpp \
../../lib/util/optparse.c \
../../lib/util/optparse_helper.c \
../../libcperciva/util/getopt.c \
../../libcperciva/util/warnp.c \
../../src/app-cmdline.cpp \
../../src/backuptask.cpp \
../../src/basetask.cpp \
../../src/init-shared.cpp \
../../src/parsearchivelistingtask.cpp \
../../src/persistentmodel/archive.cpp \
../../src/persistentmodel/job.cpp \
../../src/persistentmodel/journal.cpp \
../../src/persistentmodel/persistentobject.cpp \
../../src/persistentmodel/persistentstore.cpp \
../../src/persistentmodel/upgrade-store.cpp \
../../src/scheduling.cpp \
../../src/tasks/tasks-utils.cpp \
../../src/translator.cpp
$$TOPDIR/lib/core/ConsoleLog.cpp \
$$TOPDIR/lib/core/TSettings.cpp \
$$TOPDIR/lib/util/optparse.c \
$$TOPDIR/lib/util/optparse_helper.c \
$$TOPDIR/libcperciva/util/getopt.c \
$$TOPDIR/libcperciva/util/warnp.c \
$$TOPDIR/src/app-cmdline.cpp \
$$TOPDIR/src/backuptask.cpp \
$$TOPDIR/src/basetask.cpp \
$$TOPDIR/src/init-shared.cpp \
$$TOPDIR/src/parsearchivelistingtask.cpp \
$$TOPDIR/src/persistentmodel/archive.cpp \
$$TOPDIR/src/persistentmodel/job.cpp \
$$TOPDIR/src/persistentmodel/journal.cpp \
$$TOPDIR/src/persistentmodel/persistentobject.cpp \
$$TOPDIR/src/persistentmodel/persistentstore.cpp \
$$TOPDIR/src/persistentmodel/upgrade-store.cpp \
$$TOPDIR/src/scheduling.cpp \
$$TOPDIR/src/tasks/tasks-utils.cpp \
$$TOPDIR/src/translator.cpp

HEADERS += \
../../lib/core/ConsoleLog.h \
../../lib/core/LogEntry.h \
../../lib/core/TSettings.h \
../../lib/util/optparse.h \
../../lib/util/optparse_helper.h \
../../libcperciva/util/getopt.h \
../../libcperciva/util/warnp.h \
../../src/app-cmdline.h \
../../src/backuptask.h \
../../src/basetask.h \
../../src/init-shared.h \
../../src/messages/archivefilestat.h \
../../src/messages/archiveptr.h \
../../src/messages/archiverestoreoptions.h \
../../src/messages/backuptaskdataptr.h \
../../src/messages/jobptr.h \
../../src/messages/tarsnaperror.h \
../../src/messages/taskstatus.h \
../../src/parsearchivelistingtask.h \
../../src/persistentmodel/archive.h \
../../src/persistentmodel/job.h \
../../src/persistentmodel/journal.h \
../../src/persistentmodel/persistentobject.h \
../../src/persistentmodel/persistentstore.h \
../../src/persistentmodel/upgrade-store.h \
../../src/scheduling.h \
../../src/tasks/tasks-utils.h \
../../src/translator.h \
$$TOPDIR/lib/core/ConsoleLog.h \
$$TOPDIR/lib/core/LogEntry.h \
$$TOPDIR/lib/core/TSettings.h \
$$TOPDIR/lib/util/optparse.h \
$$TOPDIR/lib/util/optparse_helper.h \
$$TOPDIR/libcperciva/util/getopt.h \
$$TOPDIR/libcperciva/util/warnp.h \
$$TOPDIR/src/app-cmdline.h \
$$TOPDIR/src/backuptask.h \
$$TOPDIR/src/basetask.h \
$$TOPDIR/src/init-shared.h \
$$TOPDIR/src/messages/archivefilestat.h \
$$TOPDIR/src/messages/archiveptr.h \
$$TOPDIR/src/messages/archiverestoreoptions.h \
$$TOPDIR/src/messages/backuptaskdataptr.h \
$$TOPDIR/src/messages/jobptr.h \
$$TOPDIR/src/messages/tarsnaperror.h \
$$TOPDIR/src/messages/taskstatus.h \
$$TOPDIR/src/parsearchivelistingtask.h \
$$TOPDIR/src/persistentmodel/archive.h \
$$TOPDIR/src/persistentmodel/job.h \
$$TOPDIR/src/persistentmodel/journal.h \
$$TOPDIR/src/persistentmodel/persistentobject.h \
$$TOPDIR/src/persistentmodel/persistentstore.h \
$$TOPDIR/src/persistentmodel/upgrade-store.h \
$$TOPDIR/src/scheduling.h \
$$TOPDIR/src/tasks/tasks-utils.h \
$$TOPDIR/src/translator.h \
../qtest-platform.h

RESOURCES += ../../resources/resources-lite.qrc
RESOURCES += $$TOPDIR/resources/resources-lite.qrc

TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts
Expand Down
220 changes: 110 additions & 110 deletions tests/app-setup/test-app-setup.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,122 +9,122 @@ VERSION = test
DEFINES += APP_VERSION=\\\"$$VERSION\\\"

FORMS += \
../../forms/setupwizard_cli.ui \
../../forms/setupwizard_final.ui \
../../forms/setupwizard_intro.ui \
../../forms/setupwizard_register.ui \
../../lib/forms/TPathComboBrowse.ui \
../../lib/forms/TPathLineBrowse.ui \
../../lib/forms/TProgressWidget.ui \
../../lib/forms/TWizard.ui
$$TOPDIR/forms/setupwizard_cli.ui \
$$TOPDIR/forms/setupwizard_final.ui \
$$TOPDIR/forms/setupwizard_intro.ui \
$$TOPDIR/forms/setupwizard_register.ui \
$$TOPDIR/lib/forms/TPathComboBrowse.ui \
$$TOPDIR/lib/forms/TPathLineBrowse.ui \
$$TOPDIR/lib/forms/TProgressWidget.ui \
$$TOPDIR/lib/forms/TWizard.ui

SOURCES += test-app-setup.cpp \
../../lib/core/ConsoleLog.cpp \
../../lib/core/TSettings.cpp \
../../lib/util/optparse.c \
../../lib/util/optparse_helper.c \
../../lib/widgets/TAsideLabel.cpp \
../../lib/widgets/TBusyLabel.cpp \
../../lib/widgets/TElidedLabel.cpp \
../../lib/widgets/TOkLabel.cpp \
../../lib/widgets/TPathComboBrowse.cpp \
../../lib/widgets/TPathLineBrowse.cpp \
../../lib/widgets/TProgressWidget.cpp \
../../lib/widgets/TWizard.cpp \
../../lib/widgets/TWizardPage.cpp \
../../libcperciva/util/getopt.c \
../../libcperciva/util/warnp.c \
../../src/app-setup.cpp \
../../src/messages/archivefilestat.h \
../../src/backenddata.cpp \
../../src/backuptask.cpp \
../../src/basetask.cpp \
../../src/cmdlinetask.cpp \
../../src/dir-utils.cpp \
../../src/filetablemodel.cpp \
../../src/humanbytes.cpp \
../../src/init-shared.cpp \
../../src/jobrunner.cpp \
../../src/parsearchivelistingtask.cpp \
../../src/persistentmodel/archive.cpp \
../../src/persistentmodel/job.cpp \
../../src/persistentmodel/journal.cpp \
../../src/persistentmodel/persistentobject.cpp \
../../src/persistentmodel/persistentstore.cpp \
../../src/persistentmodel/upgrade-store.cpp \
../../src/scheduling.cpp \
../../src/setupwizard/setupwizard.cpp \
../../src/setupwizard/setupwizard_cli.cpp \
../../src/setupwizard/setupwizard_final.cpp \
../../src/setupwizard/setupwizard_intro.cpp \
../../src/setupwizard/setupwizard_register.cpp \
../../src/taskmanager.cpp \
../../src/taskqueuer.cpp \
../../src/tasks/tasks-misc.cpp \
../../src/tasks/tasks-setup.cpp \
../../src/tasks/tasks-tarsnap.cpp \
../../src/tasks/tasks-utils.cpp \
../../src/translator.cpp
$$TOPDIR/lib/core/ConsoleLog.cpp \
$$TOPDIR/lib/core/TSettings.cpp \
$$TOPDIR/lib/util/optparse.c \
$$TOPDIR/lib/util/optparse_helper.c \
$$TOPDIR/lib/widgets/TAsideLabel.cpp \
$$TOPDIR/lib/widgets/TBusyLabel.cpp \
$$TOPDIR/lib/widgets/TElidedLabel.cpp \
$$TOPDIR/lib/widgets/TOkLabel.cpp \
$$TOPDIR/lib/widgets/TPathComboBrowse.cpp \
$$TOPDIR/lib/widgets/TPathLineBrowse.cpp \
$$TOPDIR/lib/widgets/TProgressWidget.cpp \
$$TOPDIR/lib/widgets/TWizard.cpp \
$$TOPDIR/lib/widgets/TWizardPage.cpp \
$$TOPDIR/libcperciva/util/getopt.c \
$$TOPDIR/libcperciva/util/warnp.c \
$$TOPDIR/src/app-setup.cpp \
$$TOPDIR/src/messages/archivefilestat.h \
$$TOPDIR/src/backenddata.cpp \
$$TOPDIR/src/backuptask.cpp \
$$TOPDIR/src/basetask.cpp \
$$TOPDIR/src/cmdlinetask.cpp \
$$TOPDIR/src/dir-utils.cpp \
$$TOPDIR/src/filetablemodel.cpp \
$$TOPDIR/src/humanbytes.cpp \
$$TOPDIR/src/init-shared.cpp \
$$TOPDIR/src/jobrunner.cpp \
$$TOPDIR/src/parsearchivelistingtask.cpp \
$$TOPDIR/src/persistentmodel/archive.cpp \
$$TOPDIR/src/persistentmodel/job.cpp \
$$TOPDIR/src/persistentmodel/journal.cpp \
$$TOPDIR/src/persistentmodel/persistentobject.cpp \
$$TOPDIR/src/persistentmodel/persistentstore.cpp \
$$TOPDIR/src/persistentmodel/upgrade-store.cpp \
$$TOPDIR/src/scheduling.cpp \
$$TOPDIR/src/setupwizard/setupwizard.cpp \
$$TOPDIR/src/setupwizard/setupwizard_cli.cpp \
$$TOPDIR/src/setupwizard/setupwizard_final.cpp \
$$TOPDIR/src/setupwizard/setupwizard_intro.cpp \
$$TOPDIR/src/setupwizard/setupwizard_register.cpp \
$$TOPDIR/src/taskmanager.cpp \
$$TOPDIR/src/taskqueuer.cpp \
$$TOPDIR/src/tasks/tasks-misc.cpp \
$$TOPDIR/src/tasks/tasks-setup.cpp \
$$TOPDIR/src/tasks/tasks-tarsnap.cpp \
$$TOPDIR/src/tasks/tasks-utils.cpp \
$$TOPDIR/src/translator.cpp

HEADERS += \
../../lib/core/ConsoleLog.h \
../../lib/core/LogEntry.h \
../../lib/core/TSettings.h \
../../lib/util/optparse.h \
../../lib/util/optparse_helper.h \
../../lib/widgets/TAsideLabel.h \
../../lib/widgets/TBusyLabel.h \
../../lib/widgets/TElidedLabel.h \
../../lib/widgets/TOkLabel.h \
../../lib/widgets/TPathComboBrowse.h \
../../lib/widgets/TPathLineBrowse.h \
../../lib/widgets/TProgressWidget.h \
../../lib/widgets/TWizard.h \
../../lib/widgets/TWizardPage.h \
../../libcperciva/util/getopt.h \
../../libcperciva/util/warnp.h \
../../src/app-setup.h \
../../src/backenddata.h \
../../src/backuptask.h \
../../src/basetask.h \
../../src/cmdlinetask.h \
../../src/dir-utils.h \
../../src/filetablemodel.h \
../../src/humanbytes.h \
../../src/init-shared.h \
../../src/jobrunner.h \
../../src/messages/archiveptr.h \
../../src/messages/archiverestoreoptions.h \
../../src/messages/backuptaskdataptr.h \
../../src/messages/jobptr.h \
../../src/messages/notification_info.h \
../../src/messages/tarsnaperror.h \
../../src/messages/taskstatus.h \
../../src/parsearchivelistingtask.h \
../../src/persistentmodel/archive.h \
../../src/persistentmodel/job.h \
../../src/persistentmodel/journal.h \
../../src/persistentmodel/persistentobject.h \
../../src/persistentmodel/persistentstore.h \
../../src/persistentmodel/upgrade-store.h \
../../src/scheduling.h \
../../src/setupwizard/setupwizard.h \
../../src/setupwizard/setupwizard_cli.h \
../../src/setupwizard/setupwizard_final.h \
../../src/setupwizard/setupwizard_intro.h \
../../src/setupwizard/setupwizard_register.h \
../../src/taskmanager.h \
../../src/taskqueuer.h \
../../src/tasks/tasks-defs.h \
../../src/tasks/tasks-misc.h \
../../src/tasks/tasks-setup.h \
../../src/tasks/tasks-tarsnap.h \
../../src/tasks/tasks-utils.h \
../../src/translator.h
$$TOPDIR/lib/core/ConsoleLog.h \
$$TOPDIR/lib/core/LogEntry.h \
$$TOPDIR/lib/core/TSettings.h \
$$TOPDIR/lib/util/optparse.h \
$$TOPDIR/lib/util/optparse_helper.h \
$$TOPDIR/lib/widgets/TAsideLabel.h \
$$TOPDIR/lib/widgets/TBusyLabel.h \
$$TOPDIR/lib/widgets/TElidedLabel.h \
$$TOPDIR/lib/widgets/TOkLabel.h \
$$TOPDIR/lib/widgets/TPathComboBrowse.h \
$$TOPDIR/lib/widgets/TPathLineBrowse.h \
$$TOPDIR/lib/widgets/TProgressWidget.h \
$$TOPDIR/lib/widgets/TWizard.h \
$$TOPDIR/lib/widgets/TWizardPage.h \
$$TOPDIR/libcperciva/util/getopt.h \
$$TOPDIR/libcperciva/util/warnp.h \
$$TOPDIR/src/app-setup.h \
$$TOPDIR/src/backenddata.h \
$$TOPDIR/src/backuptask.h \
$$TOPDIR/src/basetask.h \
$$TOPDIR/src/cmdlinetask.h \
$$TOPDIR/src/dir-utils.h \
$$TOPDIR/src/filetablemodel.h \
$$TOPDIR/src/humanbytes.h \
$$TOPDIR/src/init-shared.h \
$$TOPDIR/src/jobrunner.h \
$$TOPDIR/src/messages/archiveptr.h \
$$TOPDIR/src/messages/archiverestoreoptions.h \
$$TOPDIR/src/messages/backuptaskdataptr.h \
$$TOPDIR/src/messages/jobptr.h \
$$TOPDIR/src/messages/notification_info.h \
$$TOPDIR/src/messages/tarsnaperror.h \
$$TOPDIR/src/messages/taskstatus.h \
$$TOPDIR/src/parsearchivelistingtask.h \
$$TOPDIR/src/persistentmodel/archive.h \
$$TOPDIR/src/persistentmodel/job.h \
$$TOPDIR/src/persistentmodel/journal.h \
$$TOPDIR/src/persistentmodel/persistentobject.h \
$$TOPDIR/src/persistentmodel/persistentstore.h \
$$TOPDIR/src/persistentmodel/upgrade-store.h \
$$TOPDIR/src/scheduling.h \
$$TOPDIR/src/setupwizard/setupwizard.h \
$$TOPDIR/src/setupwizard/setupwizard_cli.h \
$$TOPDIR/src/setupwizard/setupwizard_final.h \
$$TOPDIR/src/setupwizard/setupwizard_intro.h \
$$TOPDIR/src/setupwizard/setupwizard_register.h \
$$TOPDIR/src/taskmanager.h \
$$TOPDIR/src/taskqueuer.h \
$$TOPDIR/src/tasks/tasks-defs.h \
$$TOPDIR/src/tasks/tasks-misc.h \
$$TOPDIR/src/tasks/tasks-setup.h \
$$TOPDIR/src/tasks/tasks-tarsnap.h \
$$TOPDIR/src/tasks/tasks-utils.h \
$$TOPDIR/src/translator.h

RESOURCES += \
../../lib/resources/lib-resources.qrc \
../../resources/resources.qrc
$$TOPDIR/lib/resources/lib-resources.qrc \
$$TOPDIR/resources/resources.qrc

TRANSLATIONS = resources/translations/tarsnap-gui_en.ts \
resources/translations/tarsnap-gui_ro.ts
Expand Down
Loading

0 comments on commit 3523105

Please sign in to comment.