I am trying to test embedded system images, and I am having some difficulty getting pts to run the tests.
On a development system, I can install pts, and run the following command to get a basic test setup
phoronix-test-suite install pts/xrender
phoronix-test-suite install pts/gui-toolkits
phoronix-test-suite install pts/x11perf
If I run phoronix-test-suite list-installed-tests, I get
Phoronix Test Suite v7.2.0
4 Tests Installed
pts/gtkperf-1.2.1 - GtkPerf
pts/qgears2-1.0.1 - QGears2
pts/render-bench-1.1.2 - Render Bench
pts/x11perf-1.1.1 - x11perf
If I run phoronix-test-suite list-installed-suites, I get
Phoronix Test Suite v7.2.0
2 Suites Installed
-
-
Now, I copy /var/lib/phoronix-test-suite to my embedded filesystem, and chroot to it.
If I run phoronix-test-suite list-installed-tests, I get
Phoronix Test Suite v7.2.0
4 Tests Installed
pts/gtkperf-1.2.1 - GtkPerf
pts/qgears2-1.0.1 - QGears2
pts/render-bench-1.1.2 - Render Bench
pts/x11perf-1.1.1 - x11perf
If I run phoronix-test-suite list-installed-suites, I get
Phoronix Test Suite v7.2.0
0 Suites Installed
If I then run phoronix-test-suite install pts/gui-toolkits
Some additional dependencies are required, but they could not be installed automatically for your operating system.
Below are the software packages that must be installed.
Phoronix Test Suite v7.2.0
GTK Development Files
Possible Package Names: libgtk2.0-dev
The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
To Install: pts/gtkperf-1.2.1
To Install: pts/qgears2-1.0.1
Determining File Requirements ..........................................
Searching Download Caches ..............................................
2 Tests To Install
1MB Of Disk Space Is Needed
pts/gtkperf-1.2.1:
Test Installation 1 of 2
1 File Needed [0.38 MB / 1 Minute]
File Found: gtkperf_0.40.tar.gz [0.38MB]
Installation Size: 0.11 MB
Installing Test @ 12:51:37
The installer exited with a non-zero exit status.
ERROR: C compiler cannot create executables
LOG: /var/lib/phoronix-test-suite/installed-tests/pts/gtkperf-1.2.1/install-failed.log
pts/qgears2-1.0.1:
Test Installation 2 of 2
1 File Needed [0.26 MB / 1 Minute]
File Found: qgears2.tar.bz2 [0.26MB]
Installation Size: 0.5 MB
Installing Test @ 12:51:45
The installer exited with a non-zero exit status.
ERROR: qgears.h:4:19: fatal error: QWidget: No such file or directory
LOG: /var/lib/phoronix-test-suite/installed-tests/pts/qgears2-1.0.1/install-failed.log
The following tests failed to install:
- pts/gtkperf-1.2.1
- pts/qgears2-1.0.1
Soooooo, the tests were there, but the suites were lost. When I try and put the suites back, the tests are deleted and pts trys to recompile them. How do I break the cycle?
On a development system, I can install pts, and run the following command to get a basic test setup
phoronix-test-suite install pts/xrender
phoronix-test-suite install pts/gui-toolkits
phoronix-test-suite install pts/x11perf
If I run phoronix-test-suite list-installed-tests, I get
Phoronix Test Suite v7.2.0
4 Tests Installed
pts/gtkperf-1.2.1 - GtkPerf
pts/qgears2-1.0.1 - QGears2
pts/render-bench-1.1.2 - Render Bench
pts/x11perf-1.1.1 - x11perf
If I run phoronix-test-suite list-installed-suites, I get
Phoronix Test Suite v7.2.0
2 Suites Installed
-
-
Now, I copy /var/lib/phoronix-test-suite to my embedded filesystem, and chroot to it.
If I run phoronix-test-suite list-installed-tests, I get
Phoronix Test Suite v7.2.0
4 Tests Installed
pts/gtkperf-1.2.1 - GtkPerf
pts/qgears2-1.0.1 - QGears2
pts/render-bench-1.1.2 - Render Bench
pts/x11perf-1.1.1 - x11perf
If I run phoronix-test-suite list-installed-suites, I get
Phoronix Test Suite v7.2.0
0 Suites Installed
If I then run phoronix-test-suite install pts/gui-toolkits
Some additional dependencies are required, but they could not be installed automatically for your operating system.
Below are the software packages that must be installed.
Phoronix Test Suite v7.2.0
GTK Development Files
Possible Package Names: libgtk2.0-dev
The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
To Install: pts/gtkperf-1.2.1
To Install: pts/qgears2-1.0.1
Determining File Requirements ..........................................
Searching Download Caches ..............................................
2 Tests To Install
1MB Of Disk Space Is Needed
pts/gtkperf-1.2.1:
Test Installation 1 of 2
1 File Needed [0.38 MB / 1 Minute]
File Found: gtkperf_0.40.tar.gz [0.38MB]
Installation Size: 0.11 MB
Installing Test @ 12:51:37
The installer exited with a non-zero exit status.
ERROR: C compiler cannot create executables
LOG: /var/lib/phoronix-test-suite/installed-tests/pts/gtkperf-1.2.1/install-failed.log
pts/qgears2-1.0.1:
Test Installation 2 of 2
1 File Needed [0.26 MB / 1 Minute]
File Found: qgears2.tar.bz2 [0.26MB]
Installation Size: 0.5 MB
Installing Test @ 12:51:45
The installer exited with a non-zero exit status.
ERROR: qgears.h:4:19: fatal error: QWidget: No such file or directory
LOG: /var/lib/phoronix-test-suite/installed-tests/pts/qgears2-1.0.1/install-failed.log
The following tests failed to install:
- pts/gtkperf-1.2.1
- pts/qgears2-1.0.1
Soooooo, the tests were there, but the suites were lost. When I try and put the suites back, the tests are deleted and pts trys to recompile them. How do I break the cycle?
Comment