summaryrefslogtreecommitdiff
path: root/TESTING
blob: 998224a2dec56a6ee27a3d7a45c6adf0e1c7fff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Testing KPL With QEMU

---

Requirements:

qemu-system-x86-64
qemu-system-aarch64
ed2k
wget
ssh
rsync

---

Note X64 = X86-64 and A64 = Aarch64

Setup:

./vm.sh -init # Create the enviroment
./vm.sh -cli X64 # Set up root password for X64 machine
./vm.sh -setup # Follow instructions
./vm.sh -cli A64 # Set up root password for A64 machine
./vm.sh -setup # Follow instructions

---

Starting:

./vm.sh -start # Start both X64 and A64 machines
./vm.sh -start X64 # Start X64
./vm.sh -start A64 # Start A64

---

Syncing:

./vm.sh -sync # Sync the codebase on both X64 and A64 machines
./vm.sh -sync X64 # Sync on X64
./vm.sh -sync A64 # Sync on A64

---

Testing:

./vm.sh -test # Sync and test the codebase on both X64 and A64 machines
./vm.sh -test X64 # Sync and test the codebase on X64
./vm.sh -test A64 # Sync and test the codebase on A64
---

Accessing:

./vm.sh -ssh X64 # SSH into X86-64
./vm.sh -ssh A64 # SSH into Aarch64

---

Stopping:

./vm.sh -stop # Power off A64 and X64 machines
./vm.sh -kill # Force stop QEMU

---

Cleaning:

./vm.sh -clean # Remove the testing environment