Check-in [3fc66ec256]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add tests for MIPS EB and MIPS EL.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3fc66ec2560a15f8037c1893cf2e9a948f197c47
User & Date: stephanie.gawroriski 2019-06-13 15:45:56
Context
2019-06-13
16:34
Make apt-get installs optional. check-in: 33341442c2 user: stephanie.gawroriski tags: trunk
15:45
Add tests for MIPS EB and MIPS EL. check-in: 3fc66ec256 user: stephanie.gawroriski tags: trunk
13:02
Remove long stuff in SummerCoat's NativeCPU; Make some adjustments to RatufaCoat (endianess issue still remains) check-in: 6599dc94ff user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to .circleci/config.yml.

    27     27         - run:
    28     28             name: Install build-essential
    29     29             command: sudo apt-get install --no-install-recommends -y build-essential
    30     30         - run:
    31     31             name: Install crossbuild-essential-powerpc
    32     32             command: sudo apt-get install --no-install-recommends -y crossbuild-essential-powerpc
    33     33         - run:
           34  +          name: Install crossbuild-essential-mips
           35  +          command: sudo apt-get install --no-install-recommends -y crossbuild-essential-mips
           36  +      - run:
           37  +          name: Install crossbuild-essential-mipsel
           38  +          command: sudo apt-get install --no-install-recommends -y crossbuild-essential-mipsel
           39  +      - run:
    34     40             name: Install qemu-user
    35     41             command: sudo apt-get install --no-install-recommends -y qemu-user
    36     42         - run:
    37     43             name: Install unzip
    38     44             command: sudo apt-get install --no-install-recommends -y unzip
    39     45   
    40     46   jobs:
................................................................................
   202    208             name: Building RatufaCoat VM (PowerPC)
   203    209             command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=powerpc-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
   204    210         - run:
   205    211             name: Running RatufaCoat VM (PowerPC)
   206    212             command: qemu-ppc ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rpjut/ratufacoatppc/results.xml
   207    213         - store_test_results:
   208    214             path: rpjut
          215  +  tests_ratufacoat_mips:
          216  +    executor: buildenv
          217  +    steps:
          218  +      - initialize_buildenv
          219  +      - run:
          220  +          name: Clear old test results and snapshot
          221  +          command: rm -f rmjut/ratufacoatmips/results.xml
          222  +      - run:
          223  +          name: Create test directory
          224  +          command: mkdir -p rmjut/ratufacoatmips
          225  +      - run:
          226  +          name: Build SummerCoat ROM with tests
          227  +          command: ~/squirreljme/build.sh dist summercoatrom-test
          228  +      - run:
          229  +          name: Extract distribution
          230  +          command: unzip -o squirreljme-summercoatrom-test.zip
          231  +      - run:
          232  +          name: Cleaning RatufaCoat VM (MIPS EB)
          233  +          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
          234  +      - run:
          235  +          name: Building RatufaCoat VM (MIPS EB)
          236  +          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mips-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
          237  +      - run:
          238  +          name: Running RatufaCoat VM (MIPS EB)
          239  +          command: qemu-mips ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rmjut/ratufacoatmips/results.xml
          240  +      - store_test_results:
          241  +          path: rmjut
          242  +  tests_ratufacoat_mipsel:
          243  +    executor: buildenv
          244  +    steps:
          245  +      - initialize_buildenv
          246  +      - run:
          247  +          name: Clear old test results and snapshot
          248  +          command: rm -f rnjut/ratufacoatmipsel/results.xml
          249  +      - run:
          250  +          name: Create test directory
          251  +          command: mkdir -p rnjut/ratufacoatmipsel
          252  +      - run:
          253  +          name: Build SummerCoat ROM with tests
          254  +          command: ~/squirreljme/build.sh dist summercoatrom-test
          255  +      - run:
          256  +          name: Extract distribution
          257  +          command: unzip -o squirreljme-summercoatrom-test.zip
          258  +      - run:
          259  +          name: Cleaning RatufaCoat VM (MIPS EL)
          260  +          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
          261  +      - run:
          262  +          name: Building RatufaCoat VM (MIPS EL)
          263  +          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mipsel-linux-gnu-gcc CFLAGS='-static -DSJME_LITTLE_ENDIAN'
          264  +      - run:
          265  +          name: Running RatufaCoat VM (MIPS EL)
          266  +          command: qemu-mipsel ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rnjut/ratufacoatmipsel/results.xml
          267  +      - store_test_results:
          268  +          path: rnjut
   209    269   
   210    270   workflows:
   211    271     version: 2
   212    272     tests:
   213    273       jobs:
   214    274         - build_javase
   215    275         - build_javame
................................................................................
   225    285             requires:
   226    286               - build_javase
   227    287               - build_summercoatrom
   228    288         - tests_ratufacoat_default:
   229    289             requires:
   230    290               - build_summercoatrom
   231    291         - tests_ratufacoat_ppc:
          292  +          requires:
          293  +            - build_summercoatrom
          294  +      - tests_ratufacoat_mips:
          295  +          requires:
          296  +            - build_summercoatrom
          297  +      - tests_ratufacoat_mipsel:
   232    298             requires:
   233    299               - build_summercoatrom
   234    300