Chris Mumford
53986b4b0e
test Refactor unit test scripts. ( #2473 )
...
* Refactor unit test scripts.
Does the following:
1. Remove as many dependencies on the operating system shell as possible.
For example, use of shutil.rmtree(...) instead of os.system('rm -r ...').
This brings this script a bit closer to being able to run on Windows.
2. Switch from os.system() to subprocess.check_call().
* This is a bit more secure as check_call() directly invokes the subprocess
without evaluation the arguments on a command-line.
* Removes the need to evaluate the return code as check_call() does this.
* Can directly set environment variables (e.g. env=cmd_env) instead of
including with subprocess invocation (e.g. BIN=test.bin).
3. Minor cleanup to main.py sys.argv parsing.
4. PEP8 formatting.
* Ignore FileNotFoundError for rmtree('report').
* Back to os.system for gcovr.
* Removed unused shutil import.
2021-08-25 15:37:59 +02:00
Gabor Kiss-Vamosi
c38cae22fb
test fix CI build error
2021-06-23 23:04:12 +02:00
Gabor Kiss-Vamosi
61cda59cbe
test fix build error
2021-06-23 22:19:51 +02:00
Gabor Kiss-Vamosi
2ba810b8de
tests add mosue emulator
2021-06-23 15:51:30 +02:00
Gabor Kiss-Vamosi
3672f87332
test move more source files to src folder
2021-06-23 13:23:47 +02:00
Gabor Kiss-Vamosi
e35b1d04bd
test add build test again, add dropdown test, integrate gcov and gvocr
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
e9e010a846
test add move tests to test_cases and test_runners directories
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
bc5b3be61f
test(font_loader) migrate the exisiting font loader test
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
ea8bed34b4
chore(test) improve prints
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
7610d38bb0
fix(test) silence make
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
c26bcf1cc6
feat(test) first experiement with Unity test engine
2021-06-18 14:13:41 +02:00
Gabor Kiss-Vamosi
6aa27cc11b
refactor(label, text area) rename functions of text_sel to text_selection
2021-05-13 15:39:06 +02:00
Gabor Kiss-Vamosi
8667402524
minor fixes
2021-04-19 11:21:44 +02:00
Gabor Kiss-Vamosi
415c114be6
fix(align) refresh position on size change
2021-03-25 20:53:45 +01:00
Gabor Kiss-Vamosi
666653efe7
fix(refresh): do not redraw the whole object if only part's style changes on a new state
2021-03-19 16:01:26 +01:00
Gabor Kiss-Vamosi
fd34dbe056
test with LV_MEM_CUSTOM 1 too
2021-03-01 15:44:43 +01:00
Gabor Kiss-Vamosi
950124f5a0
fix(scroll): varius fixes on lv_obj_scroll_to_view and snapping
2021-02-28 14:18:32 +01:00
Gabor Kiss-Vamosi
87cee2f72b
minor fixes
2021-02-26 13:13:37 +01:00
Gabor Kiss-Vamosi
9484f1b224
fix warnings
2021-02-19 18:19:47 +01:00
Gabor Kiss-Vamosi
02c19eacab
fix warnings and make tests working
2021-02-14 22:07:38 +01:00
Gabor Kiss-Vamosi
bb08660cb6
minor fixes
2021-02-14 14:56:34 +01:00
Gabor Kiss-Vamosi
f84720aa95
merge master
2021-01-23 23:50:00 +01:00
Xiang Xiao
c9b97feea8
fix(formatting): various improvements ( #2028 )
...
* fix(formatting): Remove the duplicated space
* fix(formatting): Remove the duplicated 'the'
* fix(spell): run codespell -w for the code base
2021-01-17 09:03:31 -05:00
Xiang Xiao
81b13bf3b6
Remove the double empty lines from all source files ( #2009 )
...
* Run dos2unix for all source files
* Remove the trail space from all source files
* Remove the double empty lines from all source files
2021-01-11 14:28:00 +01:00
Gabor Kiss-Vamosi
fdfb69f066
fi warnigns to make tests run succesfully
2020-11-20 11:55:50 +01:00
github-actions[bot]
5d02b27b1f
Merge d4c3567f84 into dev
2020-08-31 12:01:26 +00:00
Gabor Kiss-Vamosi
39bf116e07
fix screenshot testing
2020-08-31 13:58:51 +02:00
Adam Martini
cb5faa64ac
Add update_value private function to lv_arc to prevent set_value return checks in the event of… ( #1748 )
...
Add update_value to lv_arc to update the value on range change.
2020-08-27 09:51:11 +02:00
Adam Martini
b9d92236e3
Add rotary to build.py defines
2020-06-18 22:25:41 -07:00
Gabor Kiss-Vamosi
a2c973bd5b
fix warings
2020-05-24 13:13:07 +02:00
Gabor Kiss-Vamosi
a78687ee5d
add LV_USE_API_EXTENSION_V6 and LV_USE_IMG_TRANSFORM config options
2020-05-12 21:29:16 +02:00
Gabor Kiss-Vamosi
835ed44029
fix warnings
2020-05-06 20:05:53 +02:00
Gabor Kiss-Vamosi
ffa2970ae5
fixes with LV_COLOR_SCREEN_TRANSP 1
2020-05-01 20:30:28 +02:00
Gabor Kiss-Vamosi
bdc98b4e1f
minor fixes
2020-05-01 11:14:10 +02:00
Gabor Kiss-Vamosi
ef9955f01f
Merge branch 'dev-7.0' into hamidrm-dev-7.0
2020-04-25 16:06:33 +02:00
Gabor Kiss-Vamosi
b3a8fb9650
minor renames and fixes
2020-04-21 11:36:05 +02:00
Gabor Kiss-Vamosi
f56b43d019
update makefile and fix warnings
2020-04-17 10:44:24 +02:00
Gabor Kiss-Vamosi
ff8afc8b0c
makefile and test fixes
2020-04-06 12:15:51 +02:00
Gabor Kiss-Vamosi
806d7dd8d5
minor foxes
2020-03-10 10:47:14 +01:00
Gabor Kiss-Vamosi
498f050262
fix warnings
2020-03-10 08:34:07 +01:00
Gabor Kiss-Vamosi
d3bcdcb8fb
add theme template and empty
2020-02-29 13:35:53 +01:00
Gabor Kiss-Vamosi
1239e415ad
fix when LV_ANTIALIAS=0
2020-02-26 20:15:29 +01:00
Gabor Kiss-Vamosi
761295b99d
fixes in various configurations
2020-02-15 02:19:44 +01:00
Gabor Kiss-Vamosi
d134ec39e5
test build clean up
2020-01-12 15:17:30 +01:00
Gabor Kiss-Vamosi
fedd1b93ee
fix test build
2020-01-12 15:15:30 +01:00
Gabor Kiss-Vamosi
5832f080f5
makefile fixes
2020-01-12 15:03:12 +01:00
Gabor Kiss-Vamosi
b08bf29aed
update makefile for backward compatibility
2020-01-12 14:34:43 +01:00
Gabor Kiss-Vamosi
0a53c05011
fix warnings
2019-12-26 03:37:28 +01:00
Gabor Kiss-Vamosi
68984828c3
add tests and lv_conf_internal.h to use LV_CONF_PATH
2019-12-26 02:49:30 +01:00