Browse Source

[LibOS] test/apps: Rewrite Curl example

This commit also adds Curl to Jenkins tests.
Dmitrii Kuvaiskii 4 years ago
parent
commit
63f1e0a2e6

+ 7 - 0
Jenkinsfiles/Linux

@@ -51,6 +51,12 @@ pipeline {
                             cd LibOS/shim/test/apps/bash
                             make regression
                             '''
+                        timeout(time: 5, unit: 'MINUTES') {
+                            sh '''
+                                cd LibOS/shim/test/apps/curl
+                                make check
+                           '''
+                        }
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/gcc
@@ -94,6 +100,7 @@ pipeline {
                            make -C LibOS/shim/test/apps/python-simple clean
                            make -C LibOS/shim/test/apps/python-scipy-insecure clean
                            make -C LibOS/shim/test/apps/bash clean
+                           make -C LibOS/shim/test/apps/curl clean
                            make -C LibOS/shim/test/apps/gcc clean
                            make -C LibOS/shim/test/apps/lmbench clean
                            make -C LibOS/shim/test/apps/lighttpd distclean

+ 6 - 0
Jenkinsfiles/Linux-18.04

@@ -45,6 +45,12 @@ pipeline {
                             cd LibOS/shim/test/apps/bash
                             make regression
                             '''
+                        timeout(time: 5, unit: 'MINUTES') {
+                            sh '''
+                                cd LibOS/shim/test/apps/curl
+                                make check
+                           '''
+                        }
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/gcc

+ 7 - 0
Jenkinsfiles/Linux-Debug

@@ -47,6 +47,12 @@ pipeline {
                             cd LibOS/shim/test/apps/bash
                             make regression
                             '''
+                        timeout(time: 5, unit: 'MINUTES') {
+                            sh '''
+                                cd LibOS/shim/test/apps/curl
+                                make check
+                           '''
+                        }
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/gcc
@@ -88,6 +94,7 @@ pipeline {
                            make -C LibOS/shim/test/apps/python-simple clean
                            make -C LibOS/shim/test/apps/python-scipy-insecure clean
                            make -C LibOS/shim/test/apps/bash clean
+                           make -C LibOS/shim/test/apps/curl clean
                            make -C LibOS/shim/test/apps/gcc clean
                            make -C LibOS/shim/test/apps/lmbench clean
                            make -C LibOS/shim/test/apps/lighttpd distclean

+ 6 - 0
Jenkinsfiles/Linux-Debug-18.04

@@ -42,6 +42,12 @@ pipeline {
                             cd LibOS/shim/test/apps/bash
                             make regression
                             '''
+                        timeout(time: 5, unit: 'MINUTES') {
+                            sh '''
+                                cd LibOS/shim/test/apps/curl
+                                make check
+                           '''
+                        }
                         timeout(time: 5, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/gcc

+ 8 - 0
Jenkinsfiles/Linux-SGX

@@ -86,6 +86,13 @@ pipeline {
                                 make SGX=1 regression
                            '''
                         }
+                        timeout(time: 5, unit: 'MINUTES') {
+                            sh '''
+                                cd LibOS/shim/test/apps/curl
+                                make SGX=1 all
+                                make SGX=1 check
+                           '''
+                        }
                         timeout(time: 10, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/gcc
@@ -130,6 +137,7 @@ pipeline {
                            make -C LibOS/shim/test/apps/python-simple SGX=1 clean
                            make -C LibOS/shim/test/apps/python-scipy-insecure SGX=1 clean
                            make -C LibOS/shim/test/apps/bash SGX=1 clean
+                           make -C LibOS/shim/test/apps/curl SGX=1 clean
                            make -C LibOS/shim/test/apps/gcc SGX=1 clean
                            make -C LibOS/shim/test/apps/lmbench SGX=1 clean
                            make -C LibOS/shim/test/apps/lighttpd SGX=1 distclean

+ 7 - 0
Jenkinsfiles/Linux-SGX-18.04

@@ -83,6 +83,13 @@ pipeline {
                                 make SGX=1 regression
                            '''
                         }
+                        timeout(time: 5, unit: 'MINUTES') {
+                            sh '''
+                                cd LibOS/shim/test/apps/curl
+                                make SGX=1 all
+                                make SGX=1 check
+                           '''
+                        }
                         timeout(time: 10, unit: 'MINUTES') {
                             sh '''
                                 cd LibOS/shim/test/apps/gcc

+ 1 - 1
LibOS/shim/test/apps

@@ -1 +1 @@
-Subproject commit 78426edb2c1fd3d06de3e465445f83218d1fd9ac
+Subproject commit b4401398f484d345c3a635be0505a6dac14e09ba