Changeset 86
- Timestamp:
- 08/06/09 09:55:53 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 3 edited
-
fix (deleted)
-
old (deleted)
-
src/compiler_test.erl (modified) (2 diffs)
-
src/shells_tests.erl (modified) (1 diff)
-
src/tester_test.erl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/compiler_test.erl
r82 r86 16 16 17 17 compiles_and_reports_progress_warnings_and_errors () -> 18 Compiler = spawn_link (compiler, init, [notify_me (), "fix"]), 18 F = fun compiles_and_reports_progress_warnings_and_errors/2, 19 ok = fixtures: use_tree (tester_test:tree (), F). 20 21 compiles_and_reports_progress_warnings_and_errors (Root, _) -> 22 Compiler = spawn_link (compiler, init, [notify_me (), Root]), 19 23 Compiler ! check, 20 24 Ms = receive_all (), … … 23 27 24 28 stops () -> 25 Compiler = spawn_link (compiler, init, [notify_me (), "fix"]), 29 ok = fixtures: use_tree ([], fun stops/2). 30 31 stops (Root, _) -> 32 Compiler = spawn_link (compiler, init, [notify_me (), Root]), 26 33 Compiler ! check, 27 34 receive_all (), -
trunk/src/shells_tests.erl
r80 r86 16 16 modules_test, modules, 17 17 text_printer_test, text_printer, 18 adlib_test, adlib], 18 adlib_test, adlib, 19 tester_test, tester, tests], 19 20 ok = hand_send_to_tester (Modules, Test_node), 20 21 Caller ! {Caller, done}. -
trunk/src/tester_test.erl
r85 r86 5 5 -module (tester_test). 6 6 -export ([run_all/1, run_all/0]). 7 -export ([tree/0]). 7 8 -test (run_all). 8 9 … … 35 36 Paths = [modules: to_file_name (M, Root) || M <- Modules], 36 37 Binaries = [modules: to_binary (P) || P <- Paths], 37 false = lists: any (fun (M) -> code: is_loaded (M) end, Modules),38 % false = lists: any (fun (M) -> code: is_loaded (M) end, Modules), 38 39 Tester ! {run, Binaries}, 39 40 Results = receive_all ([]), 40 false = lists: any (fun (M) -> code: is_loaded (M) end, Modules),41 % false = lists: any (fun (M) -> code: is_loaded (M) end, Modules), 41 42 Results. 42 43 … … 196 197 ]. 197 198 198 199 200 201 199 %%% Test to be added: 202 200 %%% tests that never end (e.g. infinite loop)
Note: See TracChangeset
for help on using the changeset viewer.
