aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Adam Duskett <aduskett@greenlots.com>2019-12-04 12:06:29 -0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-12-05 23:02:14 +0100
commit8583b2c6d878ea890081d354170f90c564d7d846 (patch)
treeb8093be1459e0b807213337b1396cda6058bc0e0 /.gitlab-ci.yml
parentf58ffc49ce5d0988549575ef18033ddda17bc809 (diff)
downloadbuildroot-8583b2c6d878ea890081d354170f90c564d7d846.tar.gz
buildroot-8583b2c6d878ea890081d354170f90c564d7d846.tar.bz2
support/testing: add python-django test
This test comprises of four simple steps: 1: Start a new simple project called testsite. 2: Run ./manage.py migrate on the new testsite. 3: Run ./manage.py runserver 0.0.0.0:1234 & sleep 30 - The sleep 30 is necessary as it may take several seconds for the django server to fully start. 4: Run netstat to ensure the server opened port 1234. Signed-off-by: Adam Duskett <aduskett@greenlots.com> [Thomas: use self.assertRunOk() when appropriate] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22befa0427..75b2fcb37c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -448,6 +448,7 @@ tests.package.test_python_constantly.TestPythonPy3Constantly: { extends: .runtim
tests.package.test_python_crossbar.TestPythonPy3Crossbar: { extends: .runtime_test }
tests.package.test_python_cryptography.TestPythonPy2Cryptography: { extends: .runtime_test }
tests.package.test_python_cryptography.TestPythonPy3Cryptography: { extends: .runtime_test }
+tests.package.test_python_django.TestPythonPy3Django: { extends: .runtime_test }
tests.package.test_python_incremental.TestPythonPy2Incremental: { extends: .runtime_test }
tests.package.test_python_incremental.TestPythonPy3Incremental: { extends: .runtime_test }
tests.package.test_python_passlib.TestPythonPy2Passlib: { extends: .runtime_test }