2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-29 12:57:44 +00:00

1778 Commits

Author SHA1 Message Date
Vibhav Pant
db60ef033d Merge branch 'CMD-433-dev-runtimedirpath-posix-fix' into 'develop'
CMD-433 - Fix PosixDirectory::runtimeDirPath prematurely returning a /tmp/ based path.

See merge request apps/MEGAcmd!705
2024-04-11 03:11:31 +12:00
Vibhav Pant
6c37e3912d
Fix POSIX tests to expect /tmp based path when $HOME does not exist. 2024-04-10 19:48:26 +05:30
Vibhav Pant
804b7e61a9
loadConfiguration: If mConfigFolder is empty, call loadConfigDir. 2024-04-10 19:48:26 +05:30
Vibhav Pant
6643560ce0
Return /tmp based path only for the home directory on POSIX.
Additionally, only return it when either the home directory cannot be
found, or it does not exist.
2024-04-10 19:48:25 +05:30
Vibhav Pant
58a489ea58 Merge branch 'CMD-357-run-integration-tests-jenkins-windows' into 'develop'
CMD-357: Run integration tests on Windows as well.

See merge request apps/MEGAcmd!696
2024-04-04 01:43:32 +13:00
Vibhav Pant
0f84c62d40
loadConfiguration: Move sessionfile declaration. 2024-04-03 02:12:03 +05:30
Vibhav Pant
610728cee3
Merge remote-tracking branch 'origin/develop' into CMD-357-run-integration-tests-jenkins-windows 2024-04-03 02:08:05 +05:30
Vibhav Pant
a17b1bcadd
Rename member configFolder to mConfigFolder. 2024-04-03 02:07:33 +05:30
Vibhav Pant
86baa024cf
Remove unneeded header. 2024-04-03 02:04:00 +05:30
Vibhav Pant
c380b1fba5
Clarify comment for not creating folder on Windows. 2024-04-03 02:03:46 +05:30
Vibhav Pant
3e07e494e3
stateDirPath: If the legacy config dir exists, return it. 2024-04-03 02:02:11 +05:30
Vibhav Pant
43bdf420ec Merge branch 'CMD-357-run-integration-tests-macos' into 'develop'
CMD-357: Run integration tests for the macOS pipeline.

See merge request apps/MEGAcmd!692
2024-04-03 09:23:41 +13:00
Diego Ximenez
7dc57a34a0 Merge branch 'fix/CMD-251_hammering_on_update_events' into 'develop'
CMD-251. Fix hammering on update events

Closes CMD-251

See merge request apps/MEGAcmd!686
2024-04-03 05:25:15 +13:00
Vibhav Pant
61f0e8006d
Allow empty tests results for integration tests. 2024-04-01 20:35:23 +05:30
Vibhav Pant
189bf2a141
Allow integration tests for fail (for now). 2024-04-01 20:29:15 +05:30
Vibhav Pant
2745b1d14b
Use globbing for the parent directory as well. 2024-04-01 20:22:54 +05:30
Vibhav Pant
c17a551751
Try using globing syntax to get junit to find the XML report. 2024-04-01 20:16:13 +05:30
Vibhav Pant
a425e6758e
List the contents of the workspace directory. 2024-04-01 20:07:19 +05:30
Vibhav Pant
3be8b0530a
Try removing extra backslashes from gtest-output arg. 2024-04-01 20:05:16 +05:30
Vibhav Pant
68c0ba7135
Specify the absolute path for gtest_output. 2024-04-01 20:00:09 +05:30
Vibhav Pant
6aa68698a0
Specify output format to gtest_output. 2024-04-01 19:52:56 +05:30
Vibhav Pant
f7f38084dc
Generate tests reports for both integration and unit tests. 2024-04-01 19:48:54 +05:30
Vibhav Pant
23d9cedda4
Run integration tests with higher verbosity. 2024-04-01 19:01:38 +05:30
Vibhav Pant
2951ee809f
Define ColoredPrintf as no-op on Windows. 2024-03-28 04:31:09 +05:30
Vibhav Pant
aba499f777
Use the correct path for vcpkg. 2024-03-28 03:32:57 +05:30
Vibhav Pant
1785e15c0c
Run parallel block in a stage. 2024-03-28 03:27:21 +05:30
Vibhav Pant
60f210dab8
List contents of vcpkg install directory. 2024-03-28 03:24:51 +05:30
Vibhav Pant
26b200bf37
Merge remote-tracking branch 'origin/CMD-380-use-platformdirectories' into CMD-357-run-integration-tests-jenkins-windows 2024-03-27 20:59:29 +05:30
Vibhav Pant
bb52f0ccba
Merge remote-tracking branch 'origin/develop' into CMD-380-use-platformdirectories 2024-03-27 20:53:04 +05:30
Callan Christophersen
0ec216fbfa Merge branch 'fix/CMD-111_fix-shown-name-in-the-exported-list-if-a-wildcard-is-used' into 'develop'
CMD-111. fix shown name in the exported list if a wildcard is used

Closes CMD-111

See merge request apps/MEGAcmd!693
2024-03-26 10:07:58 +13:00
Diego Ximenez
74d8ec995f Merge branch 'fix/CMD-417_allowed_regex_for_writable_folder_tests' into 'develop'
CMD-417. Fix allowed regex pattern in writable folder tests

Closes CMD-417

See merge request apps/MEGAcmd!694
2024-03-25 23:41:18 +13:00
Vibhav Pant
d0a8803965
Delete working directory in post stage. 2024-03-22 18:55:08 +05:30
Vibhav Pant
f3c194dafa
Temporarily print the config directory for Windows. 2024-03-22 18:50:44 +05:30
Vibhav Pant
17770743d6
Add initial support for running integration tests on Windows. 2024-03-22 18:41:41 +05:30
Diego Ximenez
51ab89abdd
Use raw string literals for regular expressions in export tests 2024-03-22 11:19:07 +01:00
Diego Ximenez
238b087b71
Fix auth-key in auth token regex only being alphanumeric 2024-03-22 11:14:49 +01:00
Callan
d1df1af477
For export command with regex expressions, use n->getName() instead of words[i]. 2024-03-22 17:14:23 +13:00
Diego Ximenez
98dbb4cb5a
Merge branch 'develop' into fix/CMD-251_hammering_on_update_events 2024-03-21 17:33:38 +01:00
Vibhav Pant
c09ee64ec6
Don't compare dirs->configDirPath() against wide strings. 2024-03-21 19:33:42 +05:30
Vibhav Pant
3b5017cfe8
Use the correct function name. 2024-03-21 19:29:31 +05:30
Vibhav Pant
f689d9cd10
Provide a regular string to _getenv as well. 2024-03-21 19:26:12 +05:30
Vibhav Pant
c67ff78aa0
Use regular strings for the config dir suffix. 2024-03-21 18:44:17 +05:30
Vibhav Pant
6860354b14
WindowsDirectories: Allow adding a suffix to the config dir path. 2024-03-21 18:38:07 +05:30
Vibhav Pant
c7d25eea5f
Merge remote-tracking branch 'origin/develop' into CMD-380-use-platformdirectories 2024-03-21 18:27:58 +05:30
Diego Ximenez
3419cbc581
Ensure windows scheduled task runs properly the first time 2024-03-21 13:27:10 +01:00
Diego Ximenez
fbd202573e
Improve MEGAcmdUpdater argument conversion for windows 2024-03-21 13:25:48 +01:00
Vibhav Pant
faa0a9c95d
Merge remote-tracking branch 'origin/develop' into CMD-357-run-integration-tests-macos 2024-03-21 17:55:31 +05:30
Vibhav Pant
496fc4cbb2 Merge branch 'CMD-336-cmake-testing-flags' into 'develop'
CMD-336 Add CMake flag ENABLE_MEGACMD_TESTS

Closes CMD-336

See merge request apps/MEGAcmd!681
2024-03-22 01:24:46 +13:00
Vibhav Pant
398d3814cb
Provide our own custom regex matchers based on std::regex. 2024-03-21 17:37:34 +05:30
Vibhav Pant
94a9fc3511
Test different escape syntax for macOS. 2024-03-20 23:27:03 +05:30