Update Iot.js
[platform/upstream/iotjs.git] / tools / test / testsets.json
1 {
2   "run_pass":  [
3     { "name": "test_adc.js", "skip": ["all"], "reason": "need to setup test environment" },
4     { "name": "test_assert.js" },
5     { "name": "test_ble.js", "skip": ["all"], "reason": "need to setup test environment" },
6     { "name": "test_buffer_builtin.js" },
7     { "name": "test_buffer.js" },
8     { "name": "test_console.js" },
9     { "name": "test_cwd.js", "skip": ["all"], "reason": "this test had @STDOUT=COMMAND[pwd], but there's no way to check out current directory path with js driver. So it skips temporarily." },
10     { "name": "test_dgram_1_server_1_client.js", "skip": ["all"], "reason": "need to setup test environment" },
11     { "name": "test_dgram_1_server_n_clients.js", "skip": ["all"], "reason": "need to setup test environment" },
12     { "name": "test_dgram_address.js", "skip": ["all"], "reason": "need to setup test environment"  },
13     { "name": "test_dgram_broadcast.js", "skip": ["all"], "reason": "need to setup test environment" },
14     { "name": "test_dgram_multicast_membership.js", "skip": ["all"], "reason": "need to setup test environment" },
15     { "name": "test_dgram_multicast_set_multicast_loop.js", "skip": ["all"], "reason": "need to setup test environment" },
16     { "name": "test_dns.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
17     { "name": "test_dns_lookup.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
18     { "name": "test_events.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
19     { "name": "test_experimental_off.js", "skip": ["experimental"], "reason": "needed if testing stablity is set with stable" },
20     { "name": "test_experimental_on.js", "skip": ["stable"], "reason": "needed if testing stablity is set with experimental" },
21     { "name": "test_exit.js", "skip": ["all"], "reason": "driver can not run with test which checks out process.exit events" },
22     { "name": "test_fs_exists.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
23     { "name": "test_fs_existssync.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
24     { "name": "test_fs_mkdir_rmdir.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
25     { "name": "test_fs_open_close.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
26     { "name": "test_fs_readdir.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
27     { "name": "test_fs_readfile.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
28     { "name": "test_fs_readfilesync.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
29     { "name": "test_fs_rename.js" },
30     { "name": "test_fs_rename_sync.js" },
31     { "name": "test_fs_stat.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
32     { "name": "test_fs_writefile_unlink.js" },
33     { "name": "test_fs_writefile_unlink_sync.js" },
34     { "name": "test_fs.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
35     { "name": "test_fs1.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
36     { "name": "test_fs2.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
37     { "name": "test_gpio1.js", "skip": ["all"], "reason": "needs hardware" },
38     { "name": "test_gpio2.js", "skip": ["all"], "reason": "need user input"},
39     { "name": "test_http_get.js", "timeout": 20, "skip": ["nuttx"], "reason": "not implemented for nuttx" },
40     { "name": "test_http_header.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
41     { "name": "test_httpclient_timeout.js", "timeout": 10, "skip": ["nuttx"], "reason": "not implemented for nuttx" },
42     { "name": "test_httpclient_timeout2.js", "timeout": 15, "skip": ["nuttx"], "reason": "not implemented for nuttx" },
43     { "name": "test_httpserver_timeout.js", "timeout": 10, "skip": ["nuttx"], "reason": "not implemented for nuttx" },
44     { "name": "test_httpserver.js", "timeout": 20, "skip": ["nuttx"], "reason": "not implemented for nuttx" },
45     { "name": "test_i2c.js", "skip": ["all"], "reason": "need to setup test environment" },
46     { "name": "test_module_cache.js", "skip": ["nuttx"], "reason": "not implemented for nuttx" },
47     { "name": "test_net1.js" },
48     { "name": "test_net2.js" },
49     { "name": "test_net3.js", "timeout": 20, "skip": ["nuttx"], "reason": "requires too many socket descriptors and too large buffers" },
50     { "name": "test_net4.js" },
51     { "name": "test_net5.js" },
52     { "name": "test_net6.js" },
53     { "name": "test_net7.js", "skip": ["nuttx"], "reason": "requires too many socket descriptors" },
54     { "name": "test_net8.js" },
55     { "name": "test_net9.js" },
56     { "name": "test_net10.js" },
57     { "name": "test_next_tick.js" },
58     { "name": "test_process.js" },
59     { "name": "test_pwm.js", "skip": ["all"], "reason": "need to setup test environment" },
60     { "name": "test_stream.js" },
61     { "name": "test_timers.js", "timeout": 10 },
62     { "name": "test_timers2.js" },
63     { "name": "test_uart.js", "skip": ["all"], "reason": "need to setup test environment" },
64     { "name": "test_uncaught1.js", "uncaught": true },
65     { "name": "test_uncaught2.js", "uncaught": true },
66     { "name": "test_uncaught_error1.js", "uncaught": true },
67     { "name": "test_uncaught_error2.js", "uncaught": true }
68   ],
69   "run_pass/issue": [
70     { "name": "issue-133.js" },
71     { "name": "issue-137.js" },
72     { "name": "issue-198.js" },
73     { "name": "issue-223.js" },
74     { "name": "issue-266.js" },
75     { "name": "issue-323.js" }
76   ],
77   "run_fail":  [
78     { "name": "assert_fail1.js", "expected-failure": true },
79     { "name": "assert_fail2.js", "expected-failure": true },
80     { "name": "assert_fail3.js", "expected-failure": true },
81     { "name": "fs_callbacks_called.js", "expected-failure": true },
82     { "name": "process_exit1.js", "expected-failure": true },
83     { "name": "process_exit2.js", "expected-failure": true },
84     { "name": "process_exitcode1.js", "expected-failure": true },
85     { "name": "process_exitcode2.js", "expected-failure": true },
86     { "name": "require_fail1.js", "expected-failure": true },
87     { "name": "runtime_error1.js", "expected-failure": true },
88     { "name": "syntax_fail1.js", "expected-failure": true },
89     { "name": "uncaught_error_event.js", "expected-failure": true }
90   ]
91 }