diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/sstatetests.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 7194225c0a..077d6e5374 100644 --- a/meta/lib/oeqa/selftest/cases/sstatetests.py +++ b/meta/lib/oeqa/selftest/cases/sstatetests.py | |||
@@ -262,6 +262,7 @@ class SStateTests(SStateBase): | |||
262 | self.write_config(""" | 262 | self.write_config(""" |
263 | MACHINE = "qemux86" | 263 | MACHINE = "qemux86" |
264 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash" | 264 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash" |
265 | TCLIBCAPPEND = "" | ||
265 | BUILD_ARCH = "x86_64" | 266 | BUILD_ARCH = "x86_64" |
266 | BUILD_OS = "linux" | 267 | BUILD_OS = "linux" |
267 | SDKMACHINE = "x86_64" | 268 | SDKMACHINE = "x86_64" |
@@ -272,6 +273,7 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb" | |||
272 | self.write_config(""" | 273 | self.write_config(""" |
273 | MACHINE = "qemux86" | 274 | MACHINE = "qemux86" |
274 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" | 275 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" |
276 | TCLIBCAPPEND = "" | ||
275 | BUILD_ARCH = "i686" | 277 | BUILD_ARCH = "i686" |
276 | BUILD_OS = "linux" | 278 | BUILD_OS = "linux" |
277 | SDKMACHINE = "i686" | 279 | SDKMACHINE = "i686" |
@@ -307,12 +309,14 @@ PACKAGE_CLASSES = "package_rpm package_ipk package_deb" | |||
307 | 309 | ||
308 | self.write_config(""" | 310 | self.write_config(""" |
309 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" | 311 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" |
312 | TCLIBCAPPEND = \"\" | ||
310 | NATIVELSBSTRING = \"DistroA\" | 313 | NATIVELSBSTRING = \"DistroA\" |
311 | """) | 314 | """) |
312 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash") | 315 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash") |
313 | bitbake("core-image-sato -S none") | 316 | bitbake("core-image-sato -S none") |
314 | self.write_config(""" | 317 | self.write_config(""" |
315 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" | 318 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" |
319 | TCLIBCAPPEND = \"\" | ||
316 | NATIVELSBSTRING = \"DistroB\" | 320 | NATIVELSBSTRING = \"DistroB\" |
317 | """) | 321 | """) |
318 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2") | 322 | self.track_for_cleanup(self.topdir + "/tmp-sstatesamehash2") |
@@ -340,10 +344,12 @@ NATIVELSBSTRING = \"DistroB\" | |||
340 | 344 | ||
341 | configA = """ | 345 | configA = """ |
342 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" | 346 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" |
347 | TCLIBCAPPEND = \"\" | ||
343 | MACHINE = \"qemux86-64\" | 348 | MACHINE = \"qemux86-64\" |
344 | """ | 349 | """ |
345 | configB = """ | 350 | configB = """ |
346 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" | 351 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" |
352 | TCLIBCAPPEND = \"\" | ||
347 | MACHINE = \"qemuarm\" | 353 | MACHINE = \"qemuarm\" |
348 | """ | 354 | """ |
349 | self.sstate_allarch_samesigs(configA, configB) | 355 | self.sstate_allarch_samesigs(configA, configB) |
@@ -356,6 +362,7 @@ MACHINE = \"qemuarm\" | |||
356 | 362 | ||
357 | configA = """ | 363 | configA = """ |
358 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" | 364 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" |
365 | TCLIBCAPPEND = \"\" | ||
359 | MACHINE = \"qemux86-64\" | 366 | MACHINE = \"qemux86-64\" |
360 | require conf/multilib.conf | 367 | require conf/multilib.conf |
361 | MULTILIBS = \"multilib:lib32\" | 368 | MULTILIBS = \"multilib:lib32\" |
@@ -363,6 +370,7 @@ DEFAULTTUNE_virtclass-multilib-lib32 = \"x86\" | |||
363 | """ | 370 | """ |
364 | configB = """ | 371 | configB = """ |
365 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" | 372 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" |
373 | TCLIBCAPPEND = \"\" | ||
366 | MACHINE = \"qemuarm\" | 374 | MACHINE = \"qemuarm\" |
367 | require conf/multilib.conf | 375 | require conf/multilib.conf |
368 | MULTILIBS = \"\" | 376 | MULTILIBS = \"\" |
@@ -407,6 +415,7 @@ MULTILIBS = \"\" | |||
407 | 415 | ||
408 | self.write_config(""" | 416 | self.write_config(""" |
409 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" | 417 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash\" |
418 | TCLIBCAPPEND = \"\" | ||
410 | MACHINE = \"qemux86\" | 419 | MACHINE = \"qemux86\" |
411 | require conf/multilib.conf | 420 | require conf/multilib.conf |
412 | MULTILIBS = "multilib:lib32" | 421 | MULTILIBS = "multilib:lib32" |
@@ -416,6 +425,7 @@ DEFAULTTUNE_virtclass-multilib-lib32 = "x86" | |||
416 | bitbake("world meta-toolchain -S none") | 425 | bitbake("world meta-toolchain -S none") |
417 | self.write_config(""" | 426 | self.write_config(""" |
418 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" | 427 | TMPDIR = \"${TOPDIR}/tmp-sstatesamehash2\" |
428 | TCLIBCAPPEND = \"\" | ||
419 | MACHINE = \"qemux86copy\" | 429 | MACHINE = \"qemux86copy\" |
420 | require conf/multilib.conf | 430 | require conf/multilib.conf |
421 | MULTILIBS = "multilib:lib32" | 431 | MULTILIBS = "multilib:lib32" |
@@ -451,6 +461,7 @@ DEFAULTTUNE_virtclass-multilib-lib32 = "x86" | |||
451 | 461 | ||
452 | self.write_config(""" | 462 | self.write_config(""" |
453 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash" | 463 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash" |
464 | TCLIBCAPPEND = "" | ||
454 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()}" | 465 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()}" |
455 | PARALLEL_MAKE = "-j 1" | 466 | PARALLEL_MAKE = "-j 1" |
456 | DL_DIR = "${TOPDIR}/download1" | 467 | DL_DIR = "${TOPDIR}/download1" |
@@ -464,6 +475,7 @@ http_proxy = "" | |||
464 | bitbake("world meta-toolchain -S none") | 475 | bitbake("world meta-toolchain -S none") |
465 | self.write_config(""" | 476 | self.write_config(""" |
466 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" | 477 | TMPDIR = "${TOPDIR}/tmp-sstatesamehash2" |
478 | TCLIBCAPPEND = "" | ||
467 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()+1}" | 479 | BB_NUMBER_THREADS = "${@oe.utils.cpu_count()+1}" |
468 | PARALLEL_MAKE = "-j 2" | 480 | PARALLEL_MAKE = "-j 2" |
469 | DL_DIR = "${TOPDIR}/download2" | 481 | DL_DIR = "${TOPDIR}/download2" |