mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 17:05:34 +00:00
chore: update unit test - will be removed later
This commit is contained in:
parent
25717d1d1c
commit
194fd1a8bf
3 changed files with 28 additions and 3 deletions
|
|
@ -1,6 +1,17 @@
|
|||
{
|
||||
"id": "test",
|
||||
"name": "test",
|
||||
"license": "mit",
|
||||
"languages": [
|
||||
"foooooooo=amh"
|
||||
]
|
||||
],
|
||||
"platformSupport": {
|
||||
"windows": "full",
|
||||
"macos": "full",
|
||||
"desktopWeb": "full",
|
||||
"mobileWeb": "full",
|
||||
"ios": "full",
|
||||
"android": "full"
|
||||
},
|
||||
"lastModifiedDate": "2017-09-06"
|
||||
}
|
||||
|
|
@ -1,6 +1,17 @@
|
|||
{
|
||||
"id": "test",
|
||||
"name": "test",
|
||||
"license": "mit",
|
||||
"languages": [
|
||||
"amh"
|
||||
]
|
||||
],
|
||||
"platformSupport": {
|
||||
"windows": "full",
|
||||
"macos": "full",
|
||||
"desktopWeb": "full",
|
||||
"mobileWeb": "full",
|
||||
"ios": "full",
|
||||
"android": "full"
|
||||
},
|
||||
"lastModifiedDate": "2017-09-06"
|
||||
}
|
||||
|
|
@ -3,6 +3,9 @@ rem We use test.bat so we can test errorlevels
|
|||
setlocal
|
||||
set ESC=
|
||||
|
||||
rem This is temporary until source keyboard_info files go away
|
||||
copy "%KEYMAN_ROOT%\common\schemas\keyboard_info\keyboard_info.schema.json" "%KEYMAN_ROOT%\common\schemas\keyboard_info\keyboard_info.source.json"
|
||||
|
||||
if "%1"=="-h" goto usage
|
||||
if "%1"=="--help" goto usage
|
||||
if "%1"=="-?" goto usage
|
||||
|
|
@ -34,7 +37,7 @@ goto :eof
|
|||
|
||||
:should-pass
|
||||
echo %BLUE%TEST: %1 %WHITE%
|
||||
"%compiler%" -s -vs -schema-path "%KEYMAN_ROOT%\common\schemas\keyboard_info" "%2"
|
||||
"%compiler%" -vs -schema-path "%KEYMAN_ROOT%\common\schemas\keyboard_info" "%2"
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo %GREEN%TEST PASSED%WHITE%
|
||||
exit /b 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue