xref: /aosp_15_r20/external/toolchain-utils/crosperf/experiment_files/enable_aslr.exp (revision 760c253c1ed00ce9abd48f8546f08516e57485fe)
1*760c253cSXin Li# This example experiment file shows how to run a Telemetry test,
2*760c253cSXin Li# using autotest (via "suite: telemetry_Crosperf"), and also enable
3*760c253cSXin Li# ASLR. Note that ASLR is diabled by default
4*760c253cSXin Li# This turns on ASLR on the machine and runs the Telemetry's
5*760c253cSXin Li# "run_benchmark" for the specified test,
6*760c253cSXin Li#
7*760c253cSXin Li#
8*760c253cSXin Li# You should replace all the placeholders, marked by angle-brackets,
9*760c253cSXin Li# with the appropriate actual values.
10*760c253cSXin Li
11*760c253cSXin Liname: basic_telemetry_crosperf_example
12*760c253cSXin Liboard: <your-board-goes-here>
13*760c253cSXin Li
14*760c253cSXin Lienable_aslr: True
15*760c253cSXin Li
16*760c253cSXin Li# Note:  You can specify multiple remotes, to run your tests in parallel on
17*760c253cSXin Li# multiple machines. e.g. "remote: test-machine-1.com test-machine2.come
18*760c253cSXin Li# test-machine3.com"
19*760c253cSXin Liremote: <your-remote-goes-here>
20*760c253cSXin Li
21*760c253cSXin Li# Replace "octane" below with the name of the Telemetry benchmark you
22*760c253cSXin Li# want to run.
23*760c253cSXin Libenchmark: octane {
24*760c253cSXin Li    suite: telemetry_Crosperf
25*760c253cSXin Li    iterations: 1
26*760c253cSXin Li}
27*760c253cSXin Li
28*760c253cSXin Li# NOTE: You must specify at least one image; you may specify more than one.
29*760c253cSXin Li# Replace <path-to-your-chroot-goes-here> and <board-goes-here> below.
30*760c253cSXin Livanilla_image {
31*760c253cSXin Li  chromeos_image:<path-to-your-chroot>/src/build/images/<board>/vanilla-image/chromiumos_test_image.bin
32*760c253cSXin Li}
33*760c253cSXin Li
34*760c253cSXin Li# Replace the chromeos image below with the actual path to your test image.
35*760c253cSXin Litest_image {
36*760c253cSXin Li  chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin
37*760c253cSXin Li}
38