Skip to content
Permalink
Browse files

Add some source=/mold= allocation tests.

  • Loading branch information...
gklimowicz committed Jul 23, 2019
1 parent fd5b2e7 commit b222150864ef3aa1793a47192ac758dc34d3ca41
Showing with 2,185 additions and 0 deletions.
  1. +36 −0 test/f90_correct/inc/oop198a.mk
  2. +36 −0 test/f90_correct/inc/oop198b.mk
  3. +36 −0 test/f90_correct/inc/oop202a.mk
  4. +36 −0 test/f90_correct/inc/oop205a.mk
  5. +36 −0 test/f90_correct/inc/oop315a.mk
  6. +36 −0 test/f90_correct/inc/oop315b.mk
  7. +36 −0 test/f90_correct/inc/oop322a.mk
  8. +36 −0 test/f90_correct/inc/oop322b.mk
  9. +36 −0 test/f90_correct/inc/oop731a.mk
  10. +36 −0 test/f90_correct/inc/oop749.mk
  11. +36 −0 test/f90_correct/inc/oop749a.mk
  12. +36 −0 test/f90_correct/inc/oop750.mk
  13. +36 −0 test/f90_correct/inc/oop750a.mk
  14. +36 −0 test/f90_correct/inc/oop751.mk
  15. +36 −0 test/f90_correct/inc/oop752.mk
  16. +36 −0 test/f90_correct/inc/oop753.mk
  17. +36 −0 test/f90_correct/inc/oop754.mk
  18. +36 −0 test/f90_correct/inc/oop755.mk
  19. +19 −0 test/f90_correct/lit/oop198a.sh
  20. +19 −0 test/f90_correct/lit/oop198b.sh
  21. +19 −0 test/f90_correct/lit/oop202a.sh
  22. +19 −0 test/f90_correct/lit/oop205a.sh
  23. +19 −0 test/f90_correct/lit/oop315a.sh
  24. +19 −0 test/f90_correct/lit/oop315b.sh
  25. +19 −0 test/f90_correct/lit/oop322a.sh
  26. +19 −0 test/f90_correct/lit/oop322b.sh
  27. +19 −0 test/f90_correct/lit/oop731a.sh
  28. +19 −0 test/f90_correct/lit/oop749.sh
  29. +19 −0 test/f90_correct/lit/oop749a.sh
  30. +19 −0 test/f90_correct/lit/oop750.sh
  31. +19 −0 test/f90_correct/lit/oop750a.sh
  32. +19 −0 test/f90_correct/lit/oop751.sh
  33. +19 −0 test/f90_correct/lit/oop752.sh
  34. +19 −0 test/f90_correct/lit/oop753.sh
  35. +19 −0 test/f90_correct/lit/oop754.sh
  36. +19 −0 test/f90_correct/lit/oop755.sh
  37. +73 −0 test/f90_correct/src/oop198a.f90
  38. +68 −0 test/f90_correct/src/oop198b.f90
  39. +78 −0 test/f90_correct/src/oop202a.f90
  40. +69 −0 test/f90_correct/src/oop205a.f90
  41. +114 −0 test/f90_correct/src/oop315a.f90
  42. +116 −0 test/f90_correct/src/oop315b.f90
  43. +89 −0 test/f90_correct/src/oop322a.f90
  44. +91 −0 test/f90_correct/src/oop322b.f90
  45. +46 −0 test/f90_correct/src/oop731a.f90
  46. +30 −0 test/f90_correct/src/oop749.f90
  47. +33 −0 test/f90_correct/src/oop749a.f90
  48. +30 −0 test/f90_correct/src/oop750.f90
  49. +32 −0 test/f90_correct/src/oop750a.f90
  50. +52 −0 test/f90_correct/src/oop751.f90
  51. +52 −0 test/f90_correct/src/oop752.f90
  52. +57 −0 test/f90_correct/src/oop753.f90
  53. +55 −0 test/f90_correct/src/oop754.f90
  54. +55 −0 test/f90_correct/src/oop755.f90
  55. +55 −0 test/f90_correct/src/oop756.f90
@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop198a ########


oop198a: run


build: $(SRC)/oop198a.f90
-$(RM) oop198a.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop198a.f90 -o oop198a.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop198a.$(OBJX) check.$(OBJX) $(LIBS) -o oop198a.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop198a
oop198a.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop198b ########


oop198b: run


build: $(SRC)/oop198b.f90
-$(RM) oop198b.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop198b.f90 -o oop198b.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop198b.$(OBJX) check.$(OBJX) $(LIBS) -o oop198b.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop198b
oop198b.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop202a ########


oop202a: run


build: $(SRC)/oop202a.f90
-$(RM) oop202a.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop202a.f90 -o oop202a.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop202a.$(OBJX) check.$(OBJX) $(LIBS) -o oop202a.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop202a
oop202a.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop205a ########


oop205a: run


build: $(SRC)/oop205a.f90
-$(RM) oop205a.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop205a.f90 -o oop205a.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop205a.$(OBJX) check.$(OBJX) $(LIBS) -o oop205a.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop205a
oop205a.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop315a ########


oop315a: run


build: $(SRC)/oop315a.f90
-$(RM) oop315a.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop315a.f90 -o oop315a.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop315a.$(OBJX) check.$(OBJX) $(LIBS) -o oop315a.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop315a
oop315a.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop315b ########


oop315b: run


build: $(SRC)/oop315b.f90
-$(RM) oop315b.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop315b.f90 -o oop315b.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop315b.$(OBJX) check.$(OBJX) $(LIBS) -o oop315b.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop315b
oop315b.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop322a ########


oop322a: run


build: $(SRC)/oop322a.f90
-$(RM) oop322a.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop322a.f90 -o oop322a.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop322a.$(OBJX) check.$(OBJX) $(LIBS) -o oop322a.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop322a
oop322a.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop322b ########


oop322b: run


build: $(SRC)/oop322b.f90
-$(RM) oop322b.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop322b.f90 -o oop322b.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop322b.$(OBJX) check.$(OBJX) $(LIBS) -o oop322b.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop322b
oop322b.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop731a ########


oop731a: run


build: $(SRC)/oop731a.f90
-$(RM) oop731a.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop731a.f90 -o oop731a.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop731a.$(OBJX) check.$(OBJX) $(LIBS) -o oop731a.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop731a
oop731a.$(EXESUFFIX)

verify: ;

@@ -0,0 +1,36 @@
#
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
########## Make rule for test oop749 ########


oop749: run


build: $(SRC)/oop749.f90
-$(RM) oop749.$(EXESUFFIX) core *.d *.mod FOR*.DAT FTN* ftn* fort.*
@echo ------------------------------------ building test $@
-$(CC) -c $(CFLAGS) $(SRC)/check.c -o check.$(OBJX)
-$(FC) -c $(FFLAGS) $(LDFLAGS) $(SRC)/oop749.f90 -o oop749.$(OBJX)
-$(FC) $(FFLAGS) $(LDFLAGS) oop749.$(OBJX) check.$(OBJX) $(LIBS) -o oop749.$(EXESUFFIX)


run:
@echo ------------------------------------ executing test oop749
oop749.$(EXESUFFIX)

verify: ;

0 comments on commit b222150

Please sign in to comment.
You can’t perform that action at this time.