Diego Ximenez
f0e3bdc476
Merge branch 'develop' into task/CMD-299_update_vpckg_ports_and_ffmpeg
2023-10-20 13:43:36 +02:00
Diego Ximenez
63201a8fee
Fix FFmpeg build on Xcode 15
2023-10-20 13:30:47 +02:00
Pablo M
3e0a83c2d8
Merge branch 'task/CMD-333_tests-in-autotools' into 'develop'
...
CMD-333. Support autotools build for tests (integration & unit)
Closes CMD-333
See merge request apps/MEGAcmd!612
2023-10-21 00:19:09 +13:00
Diego Ximenez
2d34c682fb
Fix MEGAcmdUpdater debug build on Windows
2023-10-20 12:14:06 +02:00
Pablo M
f107dafe58
Merge branch 'task/exit-on-first-build-failure' into 'develop'
...
Have "set -e" added to builder.sh
See merge request apps/MEGAcmd!616
2023-10-20 22:44:41 +13:00
Diego Ximenez
151cd9a9bf
Merge branch 'develop' into task/CMD-299_update_vpckg_ports_and_ffmpeg
2023-10-20 10:10:37 +02:00
Pablo Martin
3ec85f862b
fix path to unit tests
2023-10-19 18:41:05 +02:00
Pablo Martin
16bb29a8e3
remove unrequired lgmock linkage
2023-10-19 18:06:44 +02:00
Pablo Martin
89169a6699
have "set -e" added to builder.sh
2023-10-19 17:57:44 +02:00
Pablo Martin
1a888ec8c6
add a word on possibility to use --with-gtest with no value
2023-10-19 17:29:56 +02:00
Pablo Martin
a31bb78070
compile gtests & run unit tests
2023-10-19 17:04:52 +02:00
Pablo Martin
280bae3f66
Merge remote-tracking branch 'origin/develop' into task/CMD-333_tests-in-autotools
2023-10-19 16:59:21 +02:00
Xavier Rins Lozano
7ac9ed4a01
Merge branch 'CMD-332-Move-MRs-to-Jenkinsfile' into 'develop'
...
CMD-332-Move-MRs-to-jenkinsfile
Closes CMD-332
See merge request apps/MEGAcmd!611
2023-10-20 02:45:17 +13:00
Xavier Rins Lozano
6a8ad70c8d
Fix issues
2023-10-19 14:21:38 +02:00
Diego Ximenez
141d385849
Further updates to preferred-ports file to match SDK's
2023-10-19 14:10:01 +02:00
Pablo Martin
23efbb9276
fix autotools compilation (missed adding SDK's includes to some new targets)
2023-10-19 13:17:21 +02:00
Diego Ximenez
da7059a854
Update preferred-ports file with SDK versions
2023-10-18 16:23:50 +02:00
Xavier Rins Lozano
66b29a5a01
add jenkinsfiles
2023-10-18 14:29:00 +02:00
Pablo Martin
25db38edf8
major simplification in include.am
...
- use intermmediate libraries for common code (tests/comms/instruments)
- have server compiled with MEGACMD_TESTING_CODE when
BUILD_MEGACMD_TESTS
2023-10-17 18:05:35 +02:00
Pablo Martin
894bc01b08
initial adjustments to include unit tests in autotools build
...
- refactor src/include.am to put some order to it
- add configure.ac to allow to pass --enable-megacmd-tests (requiring
explicit --with-gtest atm)
2023-10-17 13:22:57 +02:00
Pablo M
0d242946fc
Merge branch 'task/CMD-334_fix-compilation-cmake-win-tests' into 'develop'
...
CMD-334. Adjust cmake compilation to fix building integration tests
Closes CMD-334
See merge request apps/MEGAcmd!609
2023-10-17 23:54:07 +13:00
Pablo Martin
93f223b988
removed unrequired double linkage for unit tests in cmake
2023-10-17 12:13:32 +02:00
Pablo Martin
f6b4fd339b
adjust cmake compilation to fix building integration tests
...
- refactor common test code in static library
- include missing cpps
- enforce io.h inclusion to have _isatty in TestUtils header
2023-10-17 12:07:44 +02:00
Pablo M
92ba28da45
Merge branch 'task/CMD-293_minor-improvements-in-confirmation-asking-and-no-errors-checks' into 'develop'
...
CMD-293. Minor enhancements in confirmation asking / checkNoErrors after request
Closes CMD-293
See merge request apps/MEGAcmd!597
2023-10-17 22:54:33 +13:00
Pablo M
e757b8fea7
Merge branch 'task/CMD-304_testing_infrastructure' into 'develop'
...
CMD-304. Create Google Tests Testing Infrastructure
Closes CMD-304
See merge request apps/MEGAcmd!605
2023-10-17 21:11:08 +13:00
Pablo Martin
88adefb092
minor adjustments
...
- struct to namespace, remove unused utility method in integration main
2023-10-16 12:59:26 +02:00
Pablo Martin
d9724a52c6
Fixes for Windows building
...
- unify vcpkg inclusion
- disable object_parallel_to_source for windows
- removed not available icon.rc for tests executables
- disable sanitizer for win32 in unit tests
- other building adjustments
- have InstrumentsException inherit form exception instead of
system_error
2023-10-16 12:50:00 +02:00
Pablo Martin
3be402f289
have setup not sleep and use intruments event instead
2023-10-10 14:11:04 +02:00
Pablo Martin
b408d0c561
confine cpu affinity enforcing to linux only in integration tests
2023-10-10 13:14:31 +02:00
Pablo Martin
0eea84d6c2
have cross-platform slep in BasicTest
2023-10-10 13:06:02 +02:00
Pablo Martin
7e7700f08b
change isatty to _isatty to fix win32 error
2023-10-10 12:56:37 +02:00
Pablo Martin
323d394edc
do not use STDOUT_FILENO
2023-10-10 12:48:42 +02:00
Pablo Martin
a1bfa7b1cd
avoid inclusion of unitstd.h in windows
2023-10-10 12:40:16 +02:00
Pablo Martin
6d5f8a7826
avoid name clashing MEGAcmdServer.exe and library in cmake build
2023-10-10 12:11:49 +02:00
Pablo Martin
ff40d6ea96
add cmake support for integration/unit tests
...
- include other adjustments in cmake
-> refactor MEGAcmd server build in a library
-> workaround linkage of not required libavfilter/libavdevice
-> fix missing NDEBUG causing compilation issues in linux
- add missing include in Instruments.h
2023-10-10 11:56:46 +02:00
Pablo Martin
6583e947bf
add missing new main cpp to cmake
2023-10-09 18:26:34 +02:00
Pablo Martin
2f574c1b6e
have megacmd::executeServer always return integer
2023-10-09 18:05:06 +02:00
Pablo Martin
d4c27c6c33
Create initial integration & unit tests structure
...
- only qmake
- define mockup tests
- include instruments (to be used/adjusted)
2023-10-09 17:58:30 +02:00
Pablo Martin
968979c6e1
separate main from megacmd.cpp and have a new includable MEGAcmdServer.pri
...
expose executeServer and stopServer exposed in megacmd.h
2023-10-09 17:21:06 +02:00
Pablo Martin
70f66a8759
fix compilation in windows
...
determine ambiguos mega namespace resolution
2023-10-06 10:44:59 +02:00
Diego Ximenez
2b26d2ea29
Merge branch 'task/CMD-323_fix_vcpkg_compilation' into 'develop'
...
CMD-323. Fix compilation with vcpkg third parties
Closes CMD-323
See merge request apps/MEGAcmd!604
2023-10-06 03:04:41 +13:00
Diego Ximenez
cc509aeaa1
Fix compilation with vcpkg third parties
2023-10-05 15:46:45 +02:00
Roddy Benjamín González Garcés
57ece5a0c0
Merge branch 'feature/CMD-295-fedora39-ubuntu2310-builds' into 'develop'
...
CMD-295. Add support for ubuntu 23.10 build
Closes CMD-295
See merge request apps/MEGAcmd!603
2023-10-05 05:36:04 +13:00
Roddy González
2e2aff97c7
Add support for ubuntu 23.10 build
2023-10-02 12:36:44 +02:00
Pablo M
8faa47e528
Merge branch 'fix/CMD-298_use-non-deprecated-send-event_single-change' into 'develop'
...
CMD-298. Stop using deprecated MegaApi::sendEvent version
Closes CMD-298
See merge request apps/MEGAcmd!602
2023-09-30 01:36:46 +13:00
Pablo Martin
83c7edc512
stop using deprecated MegaApi::sendEvent version
2023-09-29 14:03:27 +02:00
Pablo M
a041c2e40c
Merge branch 'fix/wrong-3rdparty-path-cmake' into 'develop'
...
use the megacmd specific expected 3rdparty folder in cmake build
See merge request apps/MEGAcmd!598
2023-09-29 00:56:06 +13:00
Pablo Martin
75c185c771
use the megacmd specific expected 3rdparty folder in cmake build
2023-09-28 13:31:06 +02:00
Pablo Martin
d6a705a9d7
minor enhancements in confirmation asking / checkNoErrors after request
2023-09-22 12:17:42 +02:00
Pablo M
6667178a2f
Merge branch 'task/fix-packages-creation-after-icu' into 'develop'
...
add libicu as building dependency in RPM/DEB
See merge request apps/MEGAcmd!596
2023-09-22 21:54:09 +12:00