Commit Graph

273 Commits

Author SHA1 Message Date
TheAssassin
f1690cc2a3 Use new subprocessing function to create symlinks 2018-10-25 15:18:55 +02:00
TheAssassin
53e0850a2b Use new subprocessing function to handle calls to strip 2018-10-25 15:17:43 +02:00
TheAssassin
3949a5fc57 Use new subprocessing function to set rpath in ELF files 2018-10-25 15:12:27 +02:00
TheAssassin
001b8f974c Use new subprocessing function to read rpath in ELF files 2018-10-25 14:58:47 +02:00
TheAssassin
2f5e04ec24 Increase stream buffer size again 2018-10-25 14:38:03 +02:00
TheAssassin
8d01c448d3 Increase subprocess stream reading reliability 2018-10-25 14:37:17 +02:00
TheAssassin
10df75f877 Extract subprocessing into separate library 2018-10-25 14:34:54 +02:00
TheAssassin
0c5b198e2f Merge pull request #33 from linuxdeploy/tests
Add Unit Tests
2018-10-25 01:26:46 +02:00
TheAssassin
5d2984ae02 Merge branch 'master' into tests 2018-10-25 01:21:46 +02:00
TheAssassin
33829c07d0 Remove redundant variables and fix paths 2018-10-25 01:16:05 +02:00
TheAssassin
90f8ed26b8 Fix path in unit test 2018-10-25 01:12:47 +02:00
TheAssassin
cbaa343a82 Add missing trailing newline character
[ci skip]
2018-10-25 01:08:52 +02:00
TheAssassin
9cf0663baa Hardcode all paths to recognize sudden changes of destination paths 2018-10-25 01:06:12 +02:00
TheAssassin
e94494ea31 Move declaration of variables to top 2018-10-25 00:48:13 +02:00
TheAssassin
2dce34daf9 Use ASSERT_* instead of if()s and FAIL() 2018-10-25 00:46:46 +02:00
TheAssassin
7260078b6c Move test into subdirectory named like internal library 2018-10-25 00:39:45 +02:00
TheAssassin
4bdceec7d8 Use standard lower-case file extension 2018-10-25 00:30:41 +02:00
TheAssassin
ca6c710c38 Remove deprecated code 2018-10-25 00:27:32 +02:00
TheAssassin
8a31d3d677 Fix cross-compiling toolchain 2018-10-25 00:27:32 +02:00
TheAssassin
5e94977f78 Fix cpp-feather-ini-parser test execution 2018-10-25 00:27:32 +02:00
TheAssassin
2f96dec588 Fix tests' structure, code style and use of GTest 2018-10-25 00:27:32 +02:00
TheAssassin
a1308955e7 Use CMake's BUILD_TESTING instead of proprietary custom variable 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
7e4a320f61 Make ctest run un verbose mode. 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
172db51186 Add unit test for AppDir::depoloyLibrary but with an invalid path. 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
d09186f69f Run unit tests on the build.sh script 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
376eddb14d Add unit test for AppDir::deployFile 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
47ff6c8e9d Add AppDir::deployIcon test. 2018-10-25 00:27:03 +02:00
TheAssassin
41371c9d90 Improve Travis uploading 2018-10-25 00:20:05 +02:00
Alexis Lopez Zubieta
eacc907c85 Add unit test for AppDir::deployDesktopFile 2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
4c9943f0d1 Add unit test for AppDir::deployExecutable 2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
a0503a7102 Add test for AppDir::depoloyLibrary 2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
f1e752d452 Add unit test for AppDir::createBasicStructure 2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
55b6ee19e1 Add tests infrastructure 2018-10-24 13:09:50 +02:00
TheAssassin
4c0d5ea891 Remove erroneous null termination
The std::string is created using char pointer _and_ buffer size, so
null termination wasn't necessary in there (might even be problematic
with other tools which aren't strictly text based).

CC #35.
2018-10-24 12:46:24 +02:00
TheAssassin
83a8f52f98 Replace communicate() to prevent buffer overflow 2018-10-14 17:11:05 +02:00
TheAssassin
b1bf306510 Fix compatibility with newer versions of ldd 2018-10-14 17:11:05 +02:00
TheAssassin
d2a021d57b Update README.md 2018-10-07 22:17:20 +02:00
TheAssassin
2f7ad201f1 Don't overwrite existing AppRun
... unless custom AppRun was specified
2018-10-07 00:10:57 +02:00
TheAssassin
485507a2d1 Buffer subprocess communication 2018-10-07 00:05:59 +02:00
TheAssassin
cdee469e60 Fix uploading of .zsync file 2018-10-05 02:03:38 +02:00
TheAssassin
a892d066cc Improve update information 2018-10-04 15:21:38 +02:00
TheAssassin
57175e0c75 Embed update information 2018-10-04 15:16:22 +02:00
TheAssassin
88695de067 Fix desktop file filename handling 2018-09-30 21:20:36 +02:00
TheAssassin
0f19458792 Improve error message 2018-09-30 21:11:05 +02:00
TheAssassin
c8d78eb602 Remove --app-name parameter completely
Fixes #19.
2018-09-30 17:12:28 +02:00
TheAssassin
6b8b59ee77 Search for plugins in current working directory 2018-09-29 21:56:58 +02:00
TheAssassin
3674af54b2 Fix syntax 2018-09-26 00:39:21 +02:00
TheAssassin
73ecd9d318 Actually copy files before running plugins
Some plugins like the Qt one expect libraries etc. to be deployed
already, like the plugin spec defines. We should try to adhere to the
spec.
2018-09-26 00:36:57 +02:00
TheAssassin
1ad4e5e6a9 Make sure to run ldd with LC_ALL=C 2018-09-22 23:21:00 +02:00
TheAssassin
f3b54236a6 Update build.sh 2018-09-16 04:23:17 +02:00