summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2014-10-16 14:23:27 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2014-11-04 17:11:30 +0000
commit62da746f34f5b307218d49cf85a48fc5b40710a1 (patch)
treebe46b46d542f15844b06c60167f8966cd570d2b2 /docs
parent685848ad92b70fcc5e594da26a16c63959c566ca (diff)
Document the directory layout
Add a new document: the test framework design document. It only contains information about the source code layout for now. It will be extended in the future. Change-Id: I011ca17780e01d92363c69b06e72a7200b606a97
Diffstat (limited to 'docs')
-rw-r--r--docs/design.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/design.md b/docs/design.md
new file mode 100644
index 0000000..37cf3ba
--- /dev/null
+++ b/docs/design.md
@@ -0,0 +1,36 @@
+EL3 Firmware Test framework Design
+==================================
+
+Contents :
+
+1. Code structure
+
+1. Code Structure
+-------------------
+
+The code is organised into the following categories (present as directories at
+the top level):
+
+* **Drivers.**
+* **Framework.** Core features of the test framework.
+* **Library code.** Comprise of functionality offered by the framework to the
+ tests.
+* **Platform specific.** Choice of architecture-specific code depends upon
+ the platform.
+* **Tests.**
+
+The tests are divided into the following categories (present as directories in
+the `tests/` directory):
+
+* **Framework validation tests.** Tests that exercise the core features of
+ the framework. Verify that the test framework itself works properly.
+* **Runtime services tests.** Tests that exercise the runtime services offered
+ by the EL3 Firmware to the Normal World software. This includes tests
+ against the Standard Service (to which PSCI belongs to) and the Trusted OS
+ service for now.
+* **Tutorial tests.** Sample test code showing how to write tests in practice.
+ Serves as documentation of the tests API.
+
+All assembler files have the `.S` extension. The linker source file has the
+extension `.ld.S`. This is processed by GCC to create the linker script which
+has the extension `.ld`.