Disable unsupported doctest tests on Windows (#3135)

Disable 02.API-REFERENCE-create-context.c, because
it is based on pthread, and there is no pthread on Windows.

Disable 11.EXT-REFERENCE-AUTORELEASE.c and test-ext-autorelease.c
if compiler is MSVC, because MSVC doesn't support cleanup attribute.

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
Csaba Osztrogonác
2019-09-20 11:07:06 +02:00
committed by Dániel Bátyai
parent 6c03e0f0af
commit 1acbf83d1a
4 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -6425,7 +6425,7 @@ jerry_create_context (uint32_t heap_size,
**Example**
[doctest]: # (test="compile")
[doctest]: # (test="compile", name="02.API-REFERENCE-create-context.c")
```c
#include <stdlib.h>
+1 -1
View File
@@ -12,7 +12,7 @@ using the `__cleanup__` variable attribute. For other compilers, no support has
**Example**
[doctest]: # (test="compile")
[doctest]: # (test="compile", name="11.EXT-REFERENCE-AUTORELEASE.c")
```c
#include "jerryscript.h"