mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
80 lines
2.2 KiB
Plaintext
80 lines
2.2 KiB
Plaintext
build "core init test/new_delete"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="LOG"/>
|
|
<service name="RM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<start name="test-new_delete">
|
|
<resource name="RAM" quantum="10M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core init test-new_delete"
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
run_genode_until {child exited with exit value 0} 15
|
|
|
|
grep_output {^\[init -> test-new_delete\]}
|
|
|
|
compare_output_to {
|
|
[init -> test-new_delete] Allocator::alloc()
|
|
[init -> test-new_delete] A
|
|
[init -> test-new_delete] C
|
|
[init -> test-new_delete] B
|
|
[init -> test-new_delete] D
|
|
[init -> test-new_delete] E
|
|
[init -> test-new_delete] ~E
|
|
[init -> test-new_delete] ~D
|
|
[init -> test-new_delete] ~B
|
|
[init -> test-new_delete] ~C
|
|
[init -> test-new_delete] ~A
|
|
[init -> test-new_delete] Allocator::free()
|
|
[init -> test-new_delete] Allocator::alloc()
|
|
[init -> test-new_delete] A
|
|
[init -> test-new_delete] C
|
|
[init -> test-new_delete] B
|
|
[init -> test-new_delete] D
|
|
[init -> test-new_delete] E
|
|
[init -> test-new_delete] throw exception
|
|
[init -> test-new_delete] ~D
|
|
[init -> test-new_delete] ~B
|
|
[init -> test-new_delete] ~C
|
|
[init -> test-new_delete] ~A
|
|
[init -> test-new_delete] exception caught
|
|
[init -> test-new_delete] Allocator::alloc()
|
|
[init -> test-new_delete] A
|
|
[init -> test-new_delete] C
|
|
[init -> test-new_delete] B
|
|
[init -> test-new_delete] D
|
|
[init -> test-new_delete] E
|
|
[init -> test-new_delete] ~E
|
|
[init -> test-new_delete] ~D
|
|
[init -> test-new_delete] ~B
|
|
[init -> test-new_delete] ~C
|
|
[init -> test-new_delete] ~A
|
|
[init -> test-new_delete] Allocator::free()
|
|
[init -> test-new_delete] Allocator::alloc()
|
|
[init -> test-new_delete] A
|
|
[init -> test-new_delete] C
|
|
[init -> test-new_delete] B
|
|
[init -> test-new_delete] D
|
|
[init -> test-new_delete] E
|
|
[init -> test-new_delete] throw exception
|
|
[init -> test-new_delete] ~D
|
|
[init -> test-new_delete] ~B
|
|
[init -> test-new_delete] ~C
|
|
[init -> test-new_delete] ~A
|
|
[init -> test-new_delete] exception caught
|
|
}
|
|
|
|
#puts "Test succeeded"
|